Use the tzgyn relay as the default backend
The CLI and iOS app now point at share.tzgyn.dev:9009 instead of the upstream croc relay. Both were verified against the deployed relay; local relays remain available through --relay and the app's Relay setting.
This commit is contained in:
@@ -286,14 +286,14 @@ struct SetupView: View {
|
||||
Image(systemName: "info.circle")
|
||||
.font(.system(size: 11, weight: .semibold))
|
||||
.padding(.top, 1)
|
||||
Text("Use your Mac's LAN address, like 192.168.1.20:9009, when you run `share relay` there. Leave it empty for the public relay.")
|
||||
Text("Use your Mac's LAN address, like 192.168.1.20:9009, when you run `share relay` there. Leave it empty for the tzgyn relay.")
|
||||
.font(.caption)
|
||||
.fixedSize(horizontal: false, vertical: true)
|
||||
}
|
||||
.foregroundStyle(Theme.tertiaryText)
|
||||
|
||||
if !model.relay.isEmpty {
|
||||
Button("Use public relay") {
|
||||
Button("Use tzgyn relay") {
|
||||
model.relay = ShareRelayDefault()
|
||||
}
|
||||
.buttonStyle(QuietButtonStyle(tint: Theme.mint))
|
||||
|
||||
Reference in New Issue
Block a user