Real .env stays untracked (matches apps/website). Fixes admin white-screen (supabaseUrl is required) by making the build-time requirement explicit. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
8 lines
544 B
Plaintext
8 lines
544 B
Plaintext
# Copy to `.env` before building. Same vars as the React app (apps/website/.env).
|
|
# These are the PUBLIC Supabase project URL + publishable (anon) key — shipped to
|
|
# the browser by design. Required by src/integrations/supabase/client.ts (admin auth);
|
|
# a missing VITE_SUPABASE_URL makes createClient() throw and white-screens /admin/*.
|
|
VITE_SUPABASE_PROJECT_ID="rddrjzptzhypltuzmere"
|
|
VITE_SUPABASE_URL="https://rddrjzptzhypltuzmere.supabase.co"
|
|
VITE_SUPABASE_PUBLISHABLE_KEY="<public anon/publishable key from the Supabase project settings>"
|