14 lines
298 B
TypeScript
14 lines
298 B
TypeScript
import { createClient } from "@supabase/supabase-js";
|
|
|
|
export const supabaseAdmin = createClient(
|
|
process.env.NEXT_PUBLIC_SUPABASE_URL!,
|
|
process.env.SUPABASE_SECRET_KEY!,
|
|
{
|
|
auth: {
|
|
persistSession: false,
|
|
autoRefreshToken: false,
|
|
detectSessionInUrl: false,
|
|
},
|
|
}
|
|
);
|