fixed weird pathing bug

pull/22/head
tycrek 3 years ago
parent 2b54a2fb4c
commit 39e1f36855
No known key found for this signature in database
GPG Key ID: 25D74F3943625263

@ -103,7 +103,7 @@ router.post('/', (req, res) => {
users[req.token] = { username, count: 0 };
}
users[req.token].count += 1;
fs.writeJsonSync(path('../auth.json'), { users }, { spaces: 4 })
fs.writeJsonSync(path('auth.json'), { users }, { spaces: 4 })
});
});

Loading…
Cancel
Save