Skip to content

Commit d82f920

Browse files
DTTerastarorca-ide
andauthored
fix(auth): bump default API host to v2-13-10 (#44)
The previous bump landed on v2-12-5, which the probe picked because it didn't return "server is deprecated". v2-12-5 turned out to return 500 "database is unreachable" for every call — not actually a working host. Manual sweep across the full v2-13-x range (anchored on the current iOS app version 2.13.10, released 2026-05-08) shows v2-13-6 through v2-13-10 are healthy: they return "Session not found" for an invalid-token probe, which is the expected 4xx-style response from a working backend. v2-13-5 and below are deprecated. v2-13-10 verified against a live refresh: $ LIFTOFF_API_BASE=https://v2-13-10.api.getgymbros.com \ liftoff-export auth refresh Token valid: eyJhbGciOiJIUzI1NiIs... The probe will get a separate PR teaching it to distinguish "live" (healthy 4xx) from "broken/transient" (500) from "deprecated", so it doesn't fall into the same trap on the next rotation. Co-authored-by: Orca <[email protected]>
1 parent 877bd27 commit d82f920

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/auth/auth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
)
1616

1717
const (
18-
defaultAPIBase = "https://v2-12-5.api.getgymbros.com"
18+
defaultAPIBase = "https://v2-13-10.api.getgymbros.com"
1919
refreshProcedure = "user.refreshToken"
2020
userAgent = "Liftoff/528 CFNetwork/3860.400.51 Darwin/25.3.0"
2121
)

0 commit comments

Comments
 (0)