1
0
mirror of https://github.com/KubaPro010/fm-dx-webserver.git synced 2026-02-26 22:13:53 +01:00

config save fix

This commit is contained in:
Marek Farkaš
2025-01-11 21:26:21 +01:00
parent 721293900f
commit 55a57912d1

View File

@@ -113,6 +113,7 @@ function deepMerge(target, source) {
}
}
});
configSave();
}
function configUpdate(newConfig) {
@@ -144,7 +145,6 @@ if (configExists()) {
const configFile = JSON.parse(configFileContents);
deepMerge(configFile, serverConfig);
serverConfig = configFile;
configSave();
} catch (err) {
logError('Error parsing config file:', err);
}