Change URL scheme fallback from https to http

Manufacturer product pages are often not on secure connections; http:// is the
safer default to avoid connection failures on non-SSL sites.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-22 17:40:14 -04:00
parent 14f220347b
commit 15b070398b
3 changed files with 3 additions and 3 deletions
@@ -9,7 +9,7 @@
string SafeUrl(string? url) =>
string.IsNullOrEmpty(url) ? "#"
: (url.StartsWith("http://", StringComparison.OrdinalIgnoreCase) || url.StartsWith("https://", StringComparison.OrdinalIgnoreCase))
? url : "https://" + url;
? url : "http://" + url;
}
@section Styles {