From 1f4e863e168f6c49446d0c5d56f75d9020ca7aad Mon Sep 17 00:00:00 2001 From: Lawin0129 Date: Wed, 12 Jan 2022 16:46:08 +0000 Subject: [PATCH] Update index.js --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 01f9ba1..1287db5 100644 --- a/index.js +++ b/index.js @@ -755,7 +755,7 @@ express.get("/fortnite/api/cloudstorage/system", async (req, res) => { fs.readdirSync(dir).forEach(name => { if (name.toLowerCase().endsWith(".ini")) { - const ParsedFile = fs.readFileSync(path.join(__dirname, 'CloudStorage', name)); + const ParsedFile = fs.readFileSync(path.join(__dirname, 'CloudStorage', name), 'utf-8'); const ParsedStats = fs.statSync(path.join(__dirname, 'CloudStorage', name)); CloudFiles.push({