Merge pull request #69 from mrwish7/main

Don't check Es mode for low latitudes
This commit is contained in:
Marek Farkaš
2024-07-31 20:42:36 +02:00
committed by GitHub
+1 -1
View File
@@ -98,7 +98,7 @@ function checkEs() {
if (now - esSwitchCache.lastCheck < esFetchInterval) {
esSwitch = esSwitchCache.esSwitch;
} else {
} else if (serverConfig.identification.lat > 20) {
esSwitchCache.lastCheck = now;
fetch(url)
.then(response => response.json())