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:
2026-10-26 22:32:15 +08:00
parent 9a37e93cfc
commit decaaa2de1
6 changed files with 17 additions and 14 deletions
+4 -4
View File
@@ -19,10 +19,10 @@ import (
"github.com/tzgyn/share/src/utils"
)
// DefaultRelay is the public relay the CLI uses when the user does not
// pass --relay. The iOS app lets the user override it (for example with a
// relay running on their Mac's LAN address).
const DefaultRelay = "croc.schollz.com:9009"
// DefaultRelay is the project's own relay, used by both the CLI and the
// iOS app when the user does not override it. Point this at a Mac's LAN
// address instead if you want to test with a local `share relay`.
const DefaultRelay = "share.tzgyn.dev:9009"
// status is the JSON shape the Swift app decodes from StatusJSON. It
// mirrors swarm.RoomStatus but adds the session fields that live only on