mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Fixed error in profiles reset
This commit is contained in:
@@ -54,7 +54,7 @@ module.exports = function (configLocation) {
|
||||
}
|
||||
});
|
||||
|
||||
router.put("/profile/resetall", function (req, res, next) {
|
||||
router.put("/profile/delete/all", function (req, res, next) {
|
||||
if (fs.existsSync(configLocation)) {
|
||||
let rawdata = fs.readFileSync(configLocation, "utf-8");
|
||||
const config = JSON.parse(rawdata);
|
||||
|
||||
Reference in New Issue
Block a user