mirror of
https://github.com/supabase/supabase.git
synced 2026-10-09 03:15:06 +03:00
12 lines
318 B
JavaScript
12 lines
318 B
JavaScript
/**
|
|
* lib/supabaseClient.js
|
|
* Helper to initialize the Supabase client.
|
|
*/
|
|
|
|
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 = createClient(supabaseUrl, supabaseAnonKey)
|