1
0
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:
Amateur Audio Dude
2025-07-07 22:32:04 +10:00
committed by GitHub
parent 4ece21d513
commit f29570261e
6 changed files with 17 additions and 103 deletions

View File

@@ -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);
}