mirror of
https://github.com/bjc/prosody.git
synced 2025-04-05 14:17:37 +03:00
mod_bosh: Update to use new new_from_config()
This commit is contained in:
parent
cef5dd4ef6
commit
f498cea754
1 changed files with 1 additions and 1 deletions
|
@ -276,6 +276,6 @@ function on_timer()
|
||||||
end
|
end
|
||||||
|
|
||||||
local ports = config.get(module.host, "core", "bosh_ports") or { 5280 };
|
local ports = config.get(module.host, "core", "bosh_ports") or { 5280 };
|
||||||
httpserver.new_from_config(ports, handle_request);
|
httpserver.new_from_config(ports, "http-bind", handle_request);
|
||||||
|
|
||||||
server.addtimer(on_timer);
|
server.addtimer(on_timer);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue