1
0
mirror of https://github.com/s00500/ESPUI.git synced 2025-06-14 07:40:40 +00:00

Changes per suggestions by maintainer (Lukas Bachschwell).

This commit is contained in:
Nick Reynolds
2022-09-21 08:58:05 +01:00
parent 90ba90a717
commit 79b9acf9f4
6 changed files with 10 additions and 8 deletions

View File

@ -1352,7 +1352,7 @@ void ESPUIClass::beginLITTLEFS(const char* _title, const char* username, const c
});
server->onNotFound([this](AsyncWebServerRequest* request) {
if(captivePortal == true)
if(captivePortal)
{
request->redirect("/");
}
@ -1506,7 +1506,7 @@ void ESPUIClass::begin(const char* _title, const char* username, const char* pas
});
server->onNotFound([this](AsyncWebServerRequest* request) {
if(captivePortal == true)
if(captivePortal)
{
request->redirect("/");
}