mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-13 14:51:21 +10:00
disable captive portal checks on ota uploades
This commit is contained in:
+2
-1
@@ -3801,7 +3801,8 @@ void WiFiManager::handleUpdating(){
|
||||
// combine route handlers into one callback and use argument or post checking instead of mutiple functions maybe, if POST process else server upload page?
|
||||
// [x] add upload checking, do we need too check file?
|
||||
// convert output to debugger if not moving to example
|
||||
if (captivePortal()) return; // If captive portal redirect instead of displaying the page
|
||||
|
||||
// if (captivePortal()) return; // If captive portal redirect instead of displaying the page
|
||||
bool error = false;
|
||||
unsigned long _configPortalTimeoutSAV = _configPortalTimeout; // store cp timeout
|
||||
_configPortalTimeout = 0; // disable timeout
|
||||
|
||||
Reference in New Issue
Block a user