adds test of setCaptivePortalEnable to example

This commit is contained in:
Shawn A
2018-01-10 10:04:26 -06:00
parent d7976381e6
commit 7625680daf
@@ -42,7 +42,8 @@ void loop() {
//WITHOUT THIS THE AP DOES NOT SEEM TO WORK PROPERLY WITH SDK 1.5 , update to at least 1.5.1
//WiFi.mode(WIFI_STA);
wifiManager.setCaptivePortalEnable(false);
// disable captibe portal redirection
// wifiManager.setCaptivePortalEnable(false);
if (!wifiManager.startConfigPortal("OnDemandAP")) {
Serial.println("failed to connect and hit timeout");