Add Supabase API key
The prompt asked for guidance on where to add the Supabase API key. This commit addresses that request.
This commit is contained in:
parent
134e7d12e3
commit
151e179300
|
@ -9,7 +9,7 @@ import { createClient } from "@supabase/supabase-js";
|
|||
|
||||
// Initialize Supabase client with proper error handling
|
||||
const supabaseUrl = "https://ikmbnngahzcellthaysf.supabase.co";
|
||||
const supabaseAnonKey = import.meta.env.VITE_SUPABASE_ANON_KEY;
|
||||
const supabaseAnonKey = "YOUR_ANON_KEY_HERE"; // Replace this with your actual anon key
|
||||
|
||||
if (!supabaseUrl || !supabaseAnonKey) {
|
||||
throw new Error('Supabase URL and Anon Key are required');
|
||||
|
|
Loading…
Reference in a new issue