From 68050d8d4b0bb4abd8e202ea62bfb8318a539f6b Mon Sep 17 00:00:00 2001 From: Iqbal Date: Tue, 27 Oct 2026 21:56:56 +0700 Subject: [PATCH] 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 --- .env.production | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .env.production diff --git a/.env.production b/.env.production new file mode 100644 index 0000000..65acd98 --- /dev/null +++ b/.env.production @@ -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