diff --git a/index.js b/index.js index 11bdd1b..849f35f 100644 --- a/index.js +++ b/index.js @@ -703,6 +703,9 @@ function initFs() { if (!fs.existsSync(goldenUsersPath)) { fs.writeFileSync(goldenUsersPath, "{}"); } + if (!fs.existsSync("static/images")){ + fs.mkdirSync("static/images"); + } } function makeid(length) {