diff conf/serve_nabble.luan @ 2:abe0694e9849

replace local_dir with home_dir
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 25 Mar 2019 13:59:13 -0600
parents 7ecd1a4ef557
children
line wrap: on
line diff
--- a/conf/serve_nabble.luan	Thu Mar 21 19:27:36 2019 -0600
+++ b/conf/serve_nabble.luan	Mon Mar 25 13:59:13 2019 -0600
@@ -109,7 +109,7 @@
 	
 	jetty.addBadBotFilter(context, { max = "10" });
 	
-	jetty.addCachingFilter(context, { dir = Init.local_dir.."cache", hasDelayedDelete = "true", acceptEncoding = "gzip" });
+	jetty.addCachingFilter(context, { dir = Init.home_dir.."local/cache", hasDelayedDelete = "true", acceptEncoding = "gzip" });
 	local FileHandler = require "java:cachingfilter.FileHandler"
 	FileHandler.factory = FileHandler.mappedOrIoFile;
 	
@@ -118,7 +118,7 @@
 	add_contexts(jetty)
 	
 	-- /backups folder
-	context = jetty.newFolderContext("/backups", Init.local_dir.."schemas", { "/*" }, false);
+	context = jetty.newFolderContext("/backups", Init.home_dir.."local/schemas", { "/*" }, false);
 	
 	local log
 	if log_to_console then