Tue, 14 Jul 2009 21:04:22 +0100
mod_httpserver: Update to use new new_from_config() too
plugins/mod_httpserver.lua | file | annotate | diff | comparison | revisions |
--- a/plugins/mod_httpserver.lua Tue Jul 14 21:04:07 2009 +0100 +++ b/plugins/mod_httpserver.lua Tue Jul 14 21:04:22 2009 +0100 @@ -28,4 +28,4 @@ end local ports = config.get(module.host, "core", "http_ports") or { 5280 }; -httpserver.new_from_config(ports, handle_request); +httpserver.new_from_config(ports, "files", handle_request);