formatting

This commit is contained in:
proddy
2026-06-06 15:06:32 +02:00
parent c572155d8d
commit 9a225569fd
6 changed files with 42 additions and 42 deletions

View File

@@ -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://")) {