mod_httpserver: Update to use new new_from_config() too

Tue, 14 Jul 2009 21:04:22 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Tue, 14 Jul 2009 21:04:22 +0100
changeset 1552
334b66f614a6
parent 1551
c6646e806d18
child 1553
5e7b1d4ee655
child 1554
06030af44fad

mod_httpserver: Update to use new new_from_config() too

plugins/mod_httpserver.lua file | annotate | diff | comparison | revisions
--- a/plugins/mod_httpserver.lua	Tue Jul 14 21:04:07 2009 +0100
+++ b/plugins/mod_httpserver.lua	Tue Jul 14 21:04:22 2009 +0100
@@ -28,4 +28,4 @@
 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);

mercurial