update
This commit is contained in:
parent
6f3a08867f
commit
36d554c16b
30 changed files with 5790 additions and 650 deletions
14
src/library/supabase.ts
Normal file
14
src/library/supabase.ts
Normal file
|
@ -0,0 +1,14 @@
|
|||
import { createClient } from "@supabase/supabase-js";
|
||||
|
||||
export const supabase = createClient(
|
||||
import.meta.env.SUPABASE_URL,
|
||||
import.meta.env.SUPABASE_ANON_KEY,
|
||||
{
|
||||
auth: {
|
||||
flowType: "pkce",
|
||||
autoRefreshToken: false,
|
||||
detectSessionInUrl: false,
|
||||
persistSession: true,
|
||||
},
|
||||
},
|
||||
);
|
Reference in a new issue