Skip to content

Fix profile sync on alternate Vercel domains - #115

Merged
romahawk merged 1 commit into
mainfrom
fix/sync-existing-profile-on-new-domain
Aug 4, 2026
Merged

Fix profile sync on alternate Vercel domains#115
romahawk merged 1 commit into
mainfrom
fix/sync-existing-profile-on-new-domain

Conversation

@romahawk

@romahawk romahawk commented Aug 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • prevents a fresh local onboarding placeholder from looking newer than an existing remote profile
  • prefers an onboarded remote profile over a blank local New Player profile on first load from a new domain
  • keeps existing user data in the shared Firebase project as the source of truth across Vercel URLs

Verification

  • npm run typecheck
  • npm run lint
  • npm run build

Follow-up outside code

  • add all active Vercel domains to Firebase Auth authorized domains
  • promote or alias the fixed production deployment to magic-kick.vercel.app

@vercel

vercel Bot commented Aug 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
magic-kick Ready Ready Preview Aug 4, 2026 11:28am
magic-kick-kfb8 Ready Ready Preview Aug 4, 2026 11:28am

@romahawk
romahawk merged commit 8b075da into main Aug 4, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant