Pin production Clerk key and Studio URL for local builds

A build without them used learning-lab's dev Clerk key, so production
users signed in to the wrong instance and saw no data.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Iqbal
2026-10-27 21:56:56 +07:00
parent 9f9fc93dfe
commit 68050d8d4b

5
.env.production Normal file
View File

@@ -0,0 +1,5 @@
# Used by `vite build` (Netlify deploys are built locally). Both values are public.
# Without these, the build falls back to learning-lab's dev Clerk key and localhost Studio,
# so production users sign in to the wrong Clerk instance and see no data.
VITE_CLERK_PUBLISHABLE_KEY=pk_live_Y2xlcmsubGVhcm5pbmdzdHVkaW8uYmF3YW5hLmNvbSQ
VITE_STUDIO_URL=https://learningstudio.bawana.com