mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-06-26 18:26:38 +00:00
Use default options when calling supabase createClient (#117)
This commit is contained in:
parent
d82183b9cd
commit
aaf78339b5
@ -133,12 +133,7 @@ export function getSupabase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Create and cache the Supabase client
|
// Create and cache the Supabase client
|
||||||
supabaseClientInstance = createClient<Database>(supabaseUrl, supabaseAnonKey, {
|
supabaseClientInstance = createClient<Database>(supabaseUrl, supabaseAnonKey);
|
||||||
auth: {
|
|
||||||
persistSession: true,
|
|
||||||
autoRefreshToken: true,
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|
||||||
return supabaseClientInstance;
|
return supabaseClientInstance;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user