mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-06-14 03:46:49 +03:00
formatting
This commit is contained in:
@@ -417,8 +417,8 @@ bool WebStatusService::refresh_versions_cache() {
|
||||
#else
|
||||
// detect scheme from EMSESP_VERSIONS_URL (case-insensitive). One code path for HTTP and HTTPS,
|
||||
// using ESP_SSLClient as a plain TCP passthrough when SSL is disabled.
|
||||
String url = EMSESP_VERSIONS_URL;
|
||||
String lower = url;
|
||||
String url = EMSESP_VERSIONS_URL;
|
||||
String lower = url;
|
||||
lower.toLowerCase();
|
||||
const bool is_https = lower.startsWith("https://");
|
||||
if (!is_https && !lower.startsWith("http://")) {
|
||||
|
||||
Reference in New Issue
Block a user