chore: remove middleware (#306)

#306
This commit is contained in:
Corbin Prebe 2024-11-24 22:41:48 -08:00
parent 3fb493f400
commit 1ce55e4091
2016 changed files with 23595 additions and 15662 deletions

7
lib/supabase.ts Normal file
View 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)