chore: disable puppeteer
This commit is contained in:
@@ -12,13 +12,17 @@ export let supabase: SupabaseClient;
|
||||
export const getServerSupabase = () => {
|
||||
if (supabase) return supabase;
|
||||
|
||||
supabase = createClient(config.supabaseConfig.url, env.PRIVATE_SUPABASE_SERVICE_ROLE || '', {
|
||||
auth: {
|
||||
persistSession: false,
|
||||
autoRefreshToken: false,
|
||||
detectSessionInUrl: false
|
||||
supabase = createClient(
|
||||
config.supabaseConfig.url,
|
||||
env.PRIVATE_SUPABASE_SERVICE_ROLE || 'some-key-here',
|
||||
{
|
||||
auth: {
|
||||
persistSession: false,
|
||||
autoRefreshToken: false,
|
||||
detectSessionInUrl: false
|
||||
}
|
||||
}
|
||||
});
|
||||
);
|
||||
|
||||
return supabase;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user