mirror of
https://github.com/supabase/supabase.git
synced 2026-10-14 05:39:11 +03:00
8 lines
285 B
TypeScript
8 lines
285 B
TypeScript
import { createClient } from '@supabase/supabase-js'
|
|
import { Database } from './schema'
|
|
|
|
const supabaseUrl = import.meta.env.VITE_SUPABASE_URL
|
|
const supabaseAnonKey = import.meta.env.VITE_SUPABASE_ANON_KEY
|
|
|
|
export const supabase = createClient<Database>(supabaseUrl, supabaseAnonKey)
|