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");