Merge pull request #1410 from greenart7c3/main

Fix non ssl connections
This commit is contained in:
Vitor Pamplona
2025-08-15 06:57:29 -04:00
committed by GitHub

View File

@@ -36,7 +36,7 @@ fun NormalizedRelayUrl.toHttp() =
if (url.startsWith("wss://")) {
"https${url.drop(3)}"
} else if (url.startsWith("ws://")) {
"https${url.drop(2)}"
"http${url.drop(2)}"
} else {
"https://$url"
}