This commit is contained in:
2025-09-15 23:46:26 +08:00
parent cfbb219740
commit 7ef377ddc2

View File

@@ -13,8 +13,8 @@ const url = 'https://base.kevisual.cn';
// console.log('auth', auth);
// Create a single supabase client for interacting with your database
const publicAnonKey = process.env.PUBLIC_ANON_KEY!;
const serverKey = process.env.SERVER_KEY!;
const publicAnonKey = process.env.SUPABASE_PUBLIC_KEY!;
const serverKey = process.env.SUPABASE_KEY!;
export const supabase = createClient(url, publicAnonKey);
export const supabaseServer = createClient(url, serverKey);