mirror of
https://github.com/Lawin0129/LawinServer.git
synced 2026-01-13 02:42:22 +01:00
Update index.js
This commit is contained in:
4
index.js
4
index.js
@@ -852,8 +852,8 @@ express.get("/fortnite/api/cloudstorage/user/:accountId", async (req, res) => {
|
||||
const file = path.join(process.env.LOCALAPPDATA, "LawinServer", "ClientSettings", `ClientSettings-${currentBuildID}.Sav`);
|
||||
|
||||
if (fs.existsSync(file)) {
|
||||
const ParsedFile = fs.readFileSync(path.join(__dirname, file), 'utf-8');
|
||||
const ParsedStats = fs.statSync(path.join(__dirname, file));
|
||||
const ParsedFile = fs.readFileSync(file, 'utf-8');
|
||||
const ParsedStats = fs.statSync(file);
|
||||
|
||||
return res.json([{
|
||||
"uniqueFilename": "ClientSettings.Sav",
|
||||
|
||||
Reference in New Issue
Block a user