This commit is contained in:
asyncnomi 2023-01-10 09:32:13 +01:00
parent 2c98addf50
commit 3c902a9516

View file

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