Barkmaster commited on
Commit
d5928d3
·
verified ·
1 Parent(s): 7e2c682

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +7 -5
index.html CHANGED
@@ -542,12 +542,14 @@ body::after{content:'';position:fixed;inset:0;background:repeating-linear-gradie
542
  // ==========================================
543
  // 1. SUPABASE CLIENT INITIALIZATION
544
  // ==========================================
545
- // Ensure these are explicitly hardcoded as strings so Hugging Face can read them!
546
- const SUPABASE_URL = 'https://kkezjquxsrpifsbvggzs.supabase.co';
547
- const SUPABASE_ANON_KEY = 'sb_publishable_MGT7d-LurUb14zxazS6XAQ_uIEILWxR
548
 
549
- // Initialize the client (assuming you are using the CDN script import in your HTML)
550
- const supabase = supabaseClient.createClient(SUPABASE_URL, SUPABASE_ANON_KEY);
 
 
 
551
 
552
  // ==========================================
553
  // 2. DATA ARRAYS & CONFIGURATION
 
542
  // ==========================================
543
  // 1. SUPABASE CLIENT INITIALIZATION
544
  // ==========================================
545
+ // 1. Destructure the createClient function out of the global library object
546
+ const { createClient } = supabase;
 
547
 
548
+ // 2. Set your configuration strings
549
+ const SUPABASE_URL = 'https://kkezjquxsrpifsbvggzs.supabase.co';
550
+ const SUPABASE_ANON_KEY = 'sb_publishable_MGT7d-LurUb14zxazS6XAQ_uIEILWxR';
551
+ // 3. Initialize your instance using the destructured function
552
+ const supabaseInstance = createClient(SUPABASE_URL, SUPABASE_ANON_KEY);
553
 
554
  // ==========================================
555
  // 2. DATA ARRAYS & CONFIGURATION