Spaces:
Running
Running
Update index.html
Browse files- 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 |
-
//
|
| 546 |
-
const
|
| 547 |
-
const SUPABASE_ANON_KEY = 'sb_publishable_MGT7d-LurUb14zxazS6XAQ_uIEILWxR
|
| 548 |
|
| 549 |
-
//
|
| 550 |
-
const
|
|
|
|
|
|
|
|
|
|
| 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
|