From 3c902a9516390a2710542cbcc8eaf0c63d0230ee Mon Sep 17 00:00:00 2001 From: asyncnomi Date: Tue, 10 Jan 2023 09:32:13 +0100 Subject: [PATCH] bla --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index f4c9958..f1e40e2 100644 --- a/index.js +++ b/index.js @@ -794,7 +794,7 @@ function initFs() { fs.writeFileSync(goldenUsersPath, "{}"); } if (!fs.existsSync(servicePath)) { - fs.writeFileSync(servicePath, "{state: 'closed'}"); + fs.writeFileSync(servicePath, JSON.stringify({state: 'closed'})); } if (!fs.existsSync("static/images")){ fs.mkdirSync("static/images");