From 649fe9f272627bf4485376a2e35a88c0db0810e3 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sat, 3 Oct 2009 00:57:26 +0100 Subject: mod_httpserver: Update to use new httpserver.new_from_config syntax --- plugins/mod_httpserver.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mod_httpserver.lua b/plugins/mod_httpserver.lua index 72a4506a..545d4faf 100644 --- a/plugins/mod_httpserver.lua +++ b/plugins/mod_httpserver.lua @@ -58,4 +58,4 @@ end local ports = config.get(module.host, "core", "http_ports") or { 5280 }; httpserver.set_default_handler(handle_default_request); -httpserver.new_from_config(ports, "files", handle_file_request); +httpserver.new_from_config(ports, handle_file_request, { base = "files" }); -- cgit v1.2.3