aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/mod_bosh.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua
index 0dd4a192..fddd5c11 100644
--- a/plugins/mod_bosh.lua
+++ b/plugins/mod_bosh.lua
@@ -298,6 +298,6 @@ function on_timer()
end
local ports = module:get_option("bosh_ports") or { 5280 };
-httpserver.new_from_config(ports, "http-bind", handle_request);
+httpserver.new_from_config(ports, handle_request, { base = "http-bind" });
server.addtimer(on_timer);