This commit is contained in:
gpt-engineer-app[bot]
2025-12-18 07:31:25 +00:00
parent 2385655510
commit e96dcb97eb
3 changed files with 257 additions and 8 deletions

View File

@@ -0,0 +1,12 @@
import { createClient } from '@supabase/supabase-js';
const SUPABASE_URL = 'http://lovable.backoffice.biz.id:8000';
const SUPABASE_ANON_KEY = 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzdXBhYmFzZSIsImlhdCI6MTc2NjAzNzEyMCwiZXhwIjo0OTIxNzEwNzIwLCJyb2xlIjoiYW5vbiJ9.Sa-eECy9dgBUQy3O4X5X-3tDPmF01J5zeT-Qtb-koYc';
export const supabase = createClient(SUPABASE_URL, SUPABASE_ANON_KEY, {
auth: {
storage: localStorage,
persistSession: true,
autoRefreshToken: true,
},
});