portfolio/lib/supabase.ts

6 lines
191 B
TypeScript
Raw Normal View History

2023-04-10 00:08:52 +00:00
import {createClient} from '@supabase/supabase-js'
export const supabase = createClient(
process.env.NEXT_PUBLIC_SUPABASE_URL ?? "",
process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY ?? ""
)