SIGN IN SIGN UP

fix(auth): send local dev sign-in to the local server, not production (#41)

AuthScreen's OAuth start URL fell back to getServerOrigin(), which is
'' (relative, for the Vite proxy) in dev — so `|| 'https://api.cumora.ai'`
always won and every local sign-in ran against production instead of
the local server. Use getPairingServerOrigin(), which already resolves
to the local dev API target outside the browser context.

Co-authored-by: liyadong <liyadong@infini-ai.com>
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
S
Salotto committed
5c1792d262f142759c7a45943d69ae927996800a
Parent: ab25b09
Committed by GitHub <noreply@github.com> on 8/20/2026, 10:59:18 AM