synapse-backend / src /lib /supabase.js
l3onchri's picture
Initial commit: Synapse OS v1.0
92f5427
raw
history blame contribute delete
291 Bytes
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;