Browse Source

Fix HTTPS support with OTA_CLIENT_HTTPUPDATE (#1894)

master
Niek van der Maas 5 years ago
committed by Max Prokhorov
parent
commit
ad2188cc0b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      code/espurna/ota_httpupdate.ino

+ 1
- 1
code/espurna/ota_httpupdate.ino View File

@ -186,7 +186,7 @@ void _otaClientFrom(const String& url) {
return; return;
} }
#if SECURE_CLIENT_SUPPORT
#if SECURE_CLIENT != SECURE_CLIENT_NONE
if (url.startsWith("https://")) { if (url.startsWith("https://")) {
_otaClientFromHttps(url); _otaClientFromHttps(url);
return; return;


Loading…
Cancel
Save