comparison mod_admin_web/admin_web/mod_admin_web.lua @ 4181:fcc6b92869d4

mod_admin_web: Really fix luarocks build spec
author Kim Alvefur <zash@zash.se>
date Thu, 08 Oct 2020 13:49:08 +0200
parents a8aacfbdaea9
children 06a9ac93e2f1
comparison
equal deleted inserted replaced
4180:a8aacfbdaea9 4181:fcc6b92869d4
131 serve = module:depends"http_files".serve; 131 serve = module:depends"http_files".serve;
132 end 132 end
133 local path = module:get_directory() .. "/www_files"; 133 local path = module:get_directory() .. "/www_files";
134 if module.resource_path then 134 if module.resource_path then
135 -- Available from trunk be73df6765b9 if installed via luarocks 135 -- Available from trunk be73df6765b9 if installed via luarocks
136 path = module.resource_path .. "/admin_web/www_files"; 136 path = module.resource_path .. "/www_files";
137 end 137 end
138 local serve_file = serve { 138 local serve_file = serve {
139 path = path; 139 path = path;
140 }; 140 };
141 141