File size: 368 Bytes
b3c4f92 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | import { createClient } from '@supabase/supabase-js';
const supabaseUrl = import.meta.env.VITE_SUPABASE_URL;
const supabaseAnonKey = import.meta.env.VITE_SUPABASE_ANON_KEY;
export const supabase = supabaseUrl && supabaseAnonKey
? createClient(supabaseUrl, supabaseAnonKey)
: null;
export const isSupabaseConfigured = () => {
return !!supabase;
};
|