1
0
Fork 0
forked from svrjs/svrjs

Fix bug in factoryReset() function.

This commit is contained in:
Dorian Niemiec 2024-08-24 19:48:27 +02:00
parent eafc2f076e
commit 98b251b867

2
svr.js
View file

@ -49,7 +49,7 @@ function factoryReset() {
deleteFolderRecursive(__dirname + "/temp");
fs.mkdirSync(__dirname + "/temp");
console.log("Removing configuration file...");
fs.unlinkSync("config.json");
fs.unlinkSync(__dirname + "/config.json");
console.log("Done!");
process.exit(0);
}