From 04a39c2917db5ac421e072e0003880c7d269bb1e Mon Sep 17 00:00:00 2001 From: tablatronix Date: Sat, 6 Mar 2021 20:10:54 -0600 Subject: [PATCH] fix title on ota --- WiFiManager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/WiFiManager.cpp b/WiFiManager.cpp index 2013694..92a3b2e 100644 --- a/WiFiManager.cpp +++ b/WiFiManager.cpp @@ -3505,6 +3505,7 @@ void WiFiManager::handleUpdate() { if (captivePortal()) return; // If captive portal redirect instead of displaying the page String page = getHTTPHead(_title); // @token options String str = FPSTR(HTTP_ROOT_MAIN); + str.replace(FPSTR(T_t), _title); str.replace(FPSTR(T_v), configPortalActive ? _apName : (getWiFiHostname() + " - " + WiFi.localIP().toString())); // use ip if ap is not active for heading page += str;