parent
3fb493f400
commit
1ce55e4091
2016 changed files with 23595 additions and 15662 deletions
7
lib/supabase.ts
Normal file
7
lib/supabase.ts
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import { createClient } from '@supabase/supabase-js'
|
||||
import { Database } from './database.types'
|
||||
|
||||
const supabaseUrl = process.env.NEXT_PUBLIC_SUPABASE_URL || ''
|
||||
const supabaseKey = process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY || ''
|
||||
|
||||
export const supabase = createClient<Database>(supabaseUrl, supabaseKey)
|
||||
Loading…
Add table
Add a link
Reference in a new issue