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:
5
.env.production
Normal file
5
.env.production
Normal 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
|
||||||
Reference in New Issue
Block a user