changeset 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
parents 9127fa98ee1e
children aba0470ed725
files mod_admin_web/admin_web/mod_admin_web.lua
diffstat 1 files changed, 1 insertions(+), 6 deletions(-) [+]
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