Sat, 03 Oct 2009 00:57:26 +0100
mod_httpserver: Update to use new httpserver.new_from_config syntax
plugins/mod_httpserver.lua | file | annotate | diff | comparison | revisions |
--- a/plugins/mod_httpserver.lua Sat Oct 03 00:56:45 2009 +0100 +++ b/plugins/mod_httpserver.lua Sat Oct 03 00:57:26 2009 +0100 @@ -58,4 +58,4 @@ 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" });