Fix non ssl connections

This commit is contained in:
greenart7c3
2025-08-15 07:35:01 -03:00
parent d8461c2a74
commit 25f5551a98
@@ -36,7 +36,7 @@ fun NormalizedRelayUrl.toHttp() =
if (url.startsWith("wss://")) { if (url.startsWith("wss://")) {
"https${url.drop(3)}" "https${url.drop(3)}"
} else if (url.startsWith("ws://")) { } else if (url.startsWith("ws://")) {
"https${url.drop(2)}" "http${url.drop(2)}"
} else { } else {
"https://$url" "https://$url"
} }