🔃 Sync hub 2.0.1 #788

This commit is contained in:
jokob-sk
2024-09-18 08:48:08 +10:00
parent e9e45c34ae
commit d2fe53bc81
3 changed files with 148 additions and 129 deletions

View File

@@ -813,7 +813,8 @@ $settingsJSON_DB = json_encode($settings, JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX
// Reload page if outdated information might be displayed
if (secondsSincePageLoad() > 10) {
clearCache();
console.log("App outdated, reloading...");
clearCache();
}
} else {
console.log("App not initialized, checking again in 1s...");