diff --git a/backend/lib/Configuration.js b/backend/lib/Configuration.js index 7575a14bfbf..3bc3f7843c0 100644 --- a/backend/lib/Configuration.js +++ b/backend/lib/Configuration.js @@ -79,7 +79,9 @@ class Configuration { Logger.info(`Migrating config from ${parsedConfig._version} to ${Tools.GET_VALETUDO_VERSION()}`); // BEGIN migration code to be removed with the next version - + if (parsedConfig.ntpClient.server === "pool.ntp.org") { + parsedConfig.ntpClient.server = "valetudo.pool.ntp.org"; + } // END migration code to be removed with the next version parsedConfig._version = Tools.GET_VALETUDO_VERSION(); diff --git a/backend/lib/res/default_config.json b/backend/lib/res/default_config.json index 939f7bd6dd4..44a33eb3483 100644 --- a/backend/lib/res/default_config.json +++ b/backend/lib/res/default_config.json @@ -60,7 +60,7 @@ }, "ntpClient": { "enabled": true, - "server": "pool.ntp.org", + "server": "valetudo.pool.ntp.org", "port": 123, "interval": 28800000, "timeout": 10000