# HG changeset patch # User Kim Alvefur # Date 1602254866 -7200 # Node ID 06a9ac93e2f176a123044253db6898f52a278d13 # Parent 9127fa98ee1e798679b9ba58aab0cd381c6815e8 Back out a8aacfbdaea9: Not needed since change in trunk See trunk 1dc49accb58e diff -r 9127fa98ee1e -r 06a9ac93e2f1 mod_admin_web/admin_web/mod_admin_web.lua --- a/mod_admin_web/admin_web/mod_admin_web.lua Fri Oct 09 12:19:46 2020 +0100 +++ b/mod_admin_web/admin_web/mod_admin_web.lua Fri Oct 09 16:47:46 2020 +0200 @@ -130,13 +130,8 @@ end) then serve = module:depends"http_files".serve; end - local path = module:get_directory() .. "/www_files"; - if module.resource_path then - -- Available from trunk be73df6765b9 if installed via luarocks - path = module.resource_path .. "/www_files"; - end local serve_file = serve { - path = path; + path = module:get_directory() .. "/www_files"; }; -- Setup HTTP server