mirror of
https://github.com/bjc/prosody.git
synced 2025-04-05 14:17:37 +03:00
mod_httpserver: Update to use new new_from_config() too
This commit is contained in:
parent
f498cea754
commit
40f2dda03d
1 changed files with 1 additions and 1 deletions
|
@ -28,4 +28,4 @@ local function handle_request(method, body, request)
|
|||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue