fix: vercel部署密钥问题
This commit is contained in:
parent
01d703a17b
commit
84e0363313
|
@ -2,7 +2,7 @@ import { createClient } from "@supabase/supabase-js";
|
|||
|
||||
export const supabaseAdmin = createClient(
|
||||
process.env.NEXT_PUBLIC_SUPABASE_URL!,
|
||||
process.env.SUPABASE_SECRET_KEY!,
|
||||
process.env.SUPABASE_SECRET_KEY || process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,
|
||||
{
|
||||
auth: {
|
||||
persistSession: false,
|
||||
|
|
Loading…
Reference in New Issue
Block a user