mirror of
https://github.com/supabase/supabase.git
synced 2026-10-18 15:49:09 +03:00
Renamed Sveltekit Variable from SUPABASE_KEY to SUPABASE_ANON_KEY (#27332)
This commit is contained in:
1 parent
c274e218bb
commit
d19ae7df71
1 file changed
+1
-1
+1
-1
@@ -33,7 +33,7 @@ SUPABASE_ANON_KEY=${projectKeys.anonKey ?? 'your-anon-key'}
|
||||
import { createClient } from "@supabase/supabase-js";
|
||||
|
||||
const supabaseUrl = process.env.SUPABASE_URL;
|
||||
const supabaseKey = process.env.SUPABASE_KEY;
|
||||
const supabaseKey = process.env.SUPABASE_ANON_KEY;
|
||||
|
||||
export const supabase = createClient(supabaseUrl, supabaseKey);
|
||||
`}
|
||||
|
||||
Reference in new issue
Block a user