Fix to allow relays using ws://
Changelog-Fixed: allow ws:// relays again
This commit is contained in:
1 parent
2b832120ec
commit
1baae90beb
1 file changed
+1
-1
@@ -154,7 +154,7 @@ struct ConfigView: View {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if relay.starts(with: "wss://") == false {
|
if relay.starts(with: "wss://") == false && relay.starts(with: "ws://") == false {
|
||||||
relay = "wss://" + relay
|
relay = "wss://" + relay
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user