Fix: #926 - Historical data lost when upgrading ESP8266 between 2.4.x versions (#931)

This commit is contained in:
Gunnar Skjold
2025-03-24 08:58:14 +01:00
committed by GitHub
parent a7324d828a
commit 792ae4c935
4 changed files with 37 additions and 25 deletions

View File

@@ -89,9 +89,9 @@ void AmsWebServer::setup(AmsConfiguration* config, GpioConfig* gpioConfig, AmsDa
context = "";
} else {
#if defined(AMS_REMOTE_DEBUG)
if (debugger->isActive(RemoteDebug::INFO))
#endif
debugger->printf_P(PSTR("Using context path: '%s'\n"), context.c_str());
if (debugger->isActive(RemoteDebug::INFO))
#endif
debugger->printf_P(PSTR("Using context path: '%s'\n"), context.c_str());
}
}
@@ -814,7 +814,6 @@ void AmsWebServer::indexHtml() {
}
void AmsWebServer::indexCss() {
if(!checkSecurity(2))
return;