mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-16 07:51:36 +10:00
use ip as title if not in captiveportal
This commit is contained in:
+1
-1
@@ -509,7 +509,7 @@ void WiFiManager::handleRoot() {
|
||||
page += _customHeadElement;
|
||||
page += FPSTR(HTTP_HEAD_END);
|
||||
page += "<h1>";
|
||||
page += _apName;
|
||||
page += configPortalActive ? _apName : WiFi.localIP().toString();
|
||||
page += "</h1>";
|
||||
page += F("<h3>WiFiManager</h3>");
|
||||
page += FPSTR(HTTP_PORTAL_OPTIONS);
|
||||
|
||||
Reference in New Issue
Block a user