From 25f586496467099a901d9ec9e9dc4da816294a38 Mon Sep 17 00:00:00 2001 From: lesion Date: Tue, 9 Nov 2021 12:59:20 +0100 Subject: [PATCH] minor --- server/config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/config.js b/server/config.js index 9eda9b61..18930e1a 100644 --- a/server/config.js +++ b/server/config.js @@ -15,6 +15,7 @@ let config = { db: {}, upload_path: path.resolve(process.env.cwd || '', 'uploads'), write (config_path= process.env.config_path || './config.json') { + delete config.firstrun return fs.writeFileSync(config_path, JSON.stringify(config, null, 2)) },