Patch to use the AP-Mode as daily driver

This commit is contained in:
Ament Martin
2021-03-05 12:23:30 +01:00
parent 9054eb3d8e
commit b38cb5f0ac
2 changed files with 10 additions and 10 deletions
+5 -5
View File
@@ -16,11 +16,11 @@ void handleNotFound() {
checkRAM(F("handleNotFound"));
#endif
if (WiFiEventData.wifiSetup)
{
web_server.send(200, F("text/html"), F("<meta HTTP-EQUIV='REFRESH' content='0; url=/setup'>"));
return;
}
// if (WiFiEventData.wifiSetup)
// {
// web_server.send(200, F("text/html"), F("<meta HTTP-EQUIV='REFRESH' content='0; url=/setup'>"));
// return;
// }
if (!isLoggedIn()) { return; }
+5 -5
View File
@@ -34,11 +34,11 @@ void handle_root() {
#endif
// if Wifi setup, launch setup wizard
if (WiFiEventData.wifiSetup)
{
web_server.send(200, F("text/html"), F("<meta HTTP-EQUIV='REFRESH' content='0; url=/setup'>"));
return;
}
// if (WiFiEventData.wifiSetup)
// {
// web_server.send(200, F("text/html"), F("<meta HTTP-EQUIV='REFRESH' content='0; url=/setup'>"));
// return;
// }
if (!isLoggedIn()) { return; }
navMenuIndex = 0;