We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 270da98 commit d849b1fCopy full SHA for d849b1f
src/esp32fota.cpp
@@ -181,6 +181,7 @@ void esp32FOTA::execOTA()
181
HTTPClient http;
182
WiFiClientSecure client;
183
//http.setConnectTimeout( 1000 );
184
+ http.setFollowRedirects(HTTPC_STRICT_FOLLOW_REDIRECTS);
185
186
log_i("Connecting to: %s\r\n", _firmwareUrl.c_str() );
187
if( _firmwareUrl.substring( 0, 5 ) == "https" ) {
@@ -395,6 +396,7 @@ bool esp32FOTA::execHTTPcheck()
395
396
397
398
399
400
401
if( useURL.substring( 0, 5 ) == "https" ) {
402
if (!_allow_insecure_https) {
0 commit comments