mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-26 15:56:37 +02:00
Merge branch 'main' of https://github.com/vitorpamplona/amethyst
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
Reference in New Issue
Block a user