From 311c25f2c97a76ae392acacb967b99c1a5e521a0 Mon Sep 17 00:00:00 2001 From: asyncnomi Date: Wed, 4 Jan 2023 00:04:27 +0100 Subject: [PATCH] bla --- index.js | 3 +++ 1 file changed, 3 insertions(+) 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) {