fixed styling in captive portal

This commit is contained in:
André_Teixeira_1998 2021-09-03 17:09:33 +01:00 committed by GitHub
parent 590368734d
commit 0645dc48e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1452,15 +1452,15 @@ void webHandleCaptivePortalWifiConfig()
}
#endif
webServer.send(200, "text/html", httpMessage);
//webSendPage(haspDevice.get_hostname(), httpMessage.length(), false);
//webServer.sendContent(httpMessage);
//webServer.send(200, "text/html", httpMessage);
webSendPage(haspDevice.get_hostname(), httpMessage.length(), false);
webServer.sendContent(httpMessage);
#if defined(STM32F4xx)
httpMessage = "";
#else
httpMessage.clear();
#endif
//webSendFooter();
webSendFooter();
}
#endif