diff options
Diffstat (limited to 'server/src/serverLib')
-rw-r--r-- | server/src/serverLib/ConfigManager.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/src/serverLib/ConfigManager.js b/server/src/serverLib/ConfigManager.js index 36af1ec..e29a0e7 100644 --- a/server/src/serverLib/ConfigManager.js +++ b/server/src/serverLib/ConfigManager.js @@ -62,7 +62,10 @@ class ConfigManager { const backupPath = await this.backup(); try { - fse.writeJSONSync(this.configPath, this.config); + fse.writeJSONSync(this.configPath, this.config, { + // Indent with two spaces + spaces: 2, + }); fse.removeSync(backupPath); return true; |