Software /
code /
prosody-modules
Diff
mod_admin_web/admin_web/mod_admin_web.lua @ 4185:06a9ac93e2f1
Back out a8aacfbdaea9: Not needed since change in trunk
See trunk 1dc49accb58e
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 09 Oct 2020 16:47:46 +0200 |
parent | 4181:fcc6b92869d4 |
child | 4197:2825fa4504f0 |
line wrap: on
line diff
--- 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