|
|
@ -794,7 +794,7 @@ function initFs() { |
|
|
fs.writeFileSync(goldenUsersPath, "{}"); |
|
|
fs.writeFileSync(goldenUsersPath, "{}"); |
|
|
} |
|
|
} |
|
|
if (!fs.existsSync(servicePath)) { |
|
|
if (!fs.existsSync(servicePath)) { |
|
|
fs.writeFileSync(servicePath, "{state: 'closed'}"); |
|
|
fs.writeFileSync(servicePath, JSON.stringify({state: 'closed'})); |
|
|
} |
|
|
} |
|
|
if (!fs.existsSync("static/images")){ |
|
|
if (!fs.existsSync("static/images")){ |
|
|
fs.mkdirSync("static/images"); |
|
|
fs.mkdirSync("static/images"); |
|
|
|