mirror of
https://github.com/bjc/prosody.git
synced 2025-04-05 06:07:37 +03:00
mod_httpserver: Update to use new httpserver.new_from_config syntax
This commit is contained in:
parent
0c362cbf8d
commit
649fe9f272
1 changed files with 1 additions and 1 deletions
|
@ -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" });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue