Renamed Sveltekit Variable from SUPABASE_KEY to SUPABASE_ANON_KEY (#27332)

This commit is contained in:
TheOtherBrian1 authored and Long Hoang committed 2024-07-01 14:23:07 +08:00
1 parent c274e218bb
commit d19ae7df71
1 file changed
+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);
`}