mirror of
https://github.com/Lawin0129/LawinServer.git
synced 2026-01-13 10:52:23 +01:00
Update index.js
This commit is contained in:
2
index.js
2
index.js
@@ -755,7 +755,7 @@ express.get("/fortnite/api/cloudstorage/system", async (req, res) => {
|
|||||||
|
|
||||||
fs.readdirSync(dir).forEach(name => {
|
fs.readdirSync(dir).forEach(name => {
|
||||||
if (name.toLowerCase().endsWith(".ini")) {
|
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));
|
const ParsedStats = fs.statSync(path.join(__dirname, 'CloudStorage', name));
|
||||||
|
|
||||||
CloudFiles.push({
|
CloudFiles.push({
|
||||||
|
|||||||
Reference in New Issue
Block a user