You've already forked fm-dx-webserver
mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-02-26 22:13:53 +01:00
fix minor typos, potential mem leaks
This commit is contained in:
committed by
GitHub
parent
4ece21d513
commit
f29570261e
@@ -155,7 +155,7 @@ function configUpdate(newConfig) {
|
||||
function configSave() {
|
||||
try {
|
||||
fs.writeFileSync(configPath, JSON.stringify(serverConfig, null, 2));
|
||||
logInfo('Server config saved successfully.');
|
||||
setTimeout(() => logInfo('Server config saved successfully.'), 0);
|
||||
} catch (err) {
|
||||
logError(err);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user