From d125cf1506e901a6a494a66961557d9181b8e320 Mon Sep 17 00:00:00 2001 From: lesion Date: Fri, 17 Feb 2023 21:56:31 +0100 Subject: [PATCH] set a default user_locale path --- server/config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/config.js b/server/config.js index 7fe0dca3..2388311d 100644 --- a/server/config.js +++ b/server/config.js @@ -13,6 +13,7 @@ let config = { log_level: 'debug', log_path: path.resolve(process.env.cwd || '', 'logs'), db: {}, + user_locale: path.resolve(process.env.cwd || '', 'user_locale'), upload_path: path.resolve(process.env.cwd || '', 'uploads'), write (config_path= process.env.config_path || './config.json') { delete config.status