mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-28 04:07:47 +00:00
Patch to use the AP-Mode as daily driver
This commit is contained in:
@@ -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; }
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user