aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-10-03 00:57:26 +0100
committerMatthew Wild <mwild1@gmail.com>2009-10-03 00:57:26 +0100
commit649fe9f272627bf4485376a2e35a88c0db0810e3 (patch)
treec0bed1b03311d46c97ead08bb7e15007fabfcc66
parent0c362cbf8d1978d38e680db1538582c851b920c8 (diff)
downloadprosody-649fe9f272627bf4485376a2e35a88c0db0810e3.tar.gz
prosody-649fe9f272627bf4485376a2e35a88c0db0810e3.zip
mod_httpserver: Update to use new httpserver.new_from_config syntax
-rw-r--r--plugins/mod_httpserver.lua2
1 files changed, 1 insertions, 1 deletions
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" });