Browse Source

Fix to allow relays using ws://

Changelog-Fixed: allow ws:// relays again
zaps
Steven Briscoe 2 years ago
committed by William Casarin
parent
commit
1baae90beb
  1. 2
      damus/Views/ConfigView.swift

2
damus/Views/ConfigView.swift

@ -154,7 +154,7 @@ struct ConfigView: View {
return
}
if relay.starts(with: "wss://") == false {
if relay.starts(with: "wss://") == false && relay.starts(with: "ws://") == false {
relay = "wss://" + relay
}

Loading…
Cancel
Save