mirror of
https://github.com/supabase/supabase.git
synced 2026-05-08 09:50:33 -04:00
a45e6cf333
## Summary Removes `_DEFAULT` from the publishable key env var name across all Connect and ConnectSheet framework content, so that e.g. `NEXT_PUBLIC_SUPABASE_PUBLISHABLE_DEFAULT_KEY` becomes `NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY`. This matches the docs and sample apps. ### Connect - Next.js (App Router) - Next.js (Pages Router) - React (Create React App) - React (Vite) - Remix - SolidJS - SvelteKit ### ConnectSheet - Next.js (App Router) - Next.js (Pages Router) - React (Create React App) - React (Vite) - Remix - SolidJS - SvelteKit - Vue.js - shadcn env step Resolves FE-2934 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Standardized environment variable names in generated connection/setup instructions: when a publishable key is present the templates now reference the publishable env var (e.g., NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY, VITE_SUPABASE_PUBLISHABLE_KEY, REACT_APP_SUPABASE_PUBLISHABLE_KEY, etc.) with unchanged anon-key fallback behavior. * Updated cURL/tab placeholders to reflect the new publishable-key identifier when hiding keys. <!-- end of auto-generated comment: release notes by coderabbit.ai -->