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
config save fix
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user