ActivityPub-federated video streaming platform using P2P directly in your web browser
Add indentation in json configuration file generated by the admin interface
Chocobozzz2ad429529c58
diff --git a/server/controllers/api/config.ts b/server/controllers/api/config.tsindex 47b91cd94b..7ef0c19e39 100644--- a/server/controllers/api/config.ts+++ b/server/controllers/api/config.ts@@ -116,7 +116,7 @@ async function updateCustomConfig (req: express.Request, res: express.Response,toUpdateJSON.user['video_quota'] = toUpdate.user.videoQuotadelete toUpdate.user.videoQuota- await writeFilePromise(CONFIG.CUSTOM_FILE, JSON.stringify(toUpdateJSON))+ await writeFilePromise(CONFIG.CUSTOM_FILE, JSON.stringify(toUpdateJSON, undefined, 2))reloadConfig()