Removed private key 🤡

This commit is contained in:
Matúš Juraj Kobyľan 2024-11-22 20:07:18 +01:00
parent a96307726c
commit f8cc1c0d8f
2 changed files with 5 additions and 2 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
config.js

View File

@ -1,6 +1,8 @@
import { createClient } from 'https://cdn.jsdelivr.net/npm/@supabase/supabase-js/+esm'; import { createClient } from 'https://cdn.jsdelivr.net/npm/@supabase/supabase-js/+esm';
const supabaseUrl = 'https://manesldshonpegglmyan.supabase.co' import config from '../scripts/config.js';
const supabaseKey = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Im1hbmVzbGRzaG9ucGVnZ2xteWFuIiwicm9sZSI6InNlcnZpY2Vfcm9sZSIsImlhdCI6MTczMDcxNzQ2NCwiZXhwIjoyMDQ2MjkzNDY0fQ.saaJeTtwYZCS3YKJYmQsAOSAEFzUVUJnoJSD8-lgLHo'
const supabaseUrl = config.SUPABASE_URL;
const supabaseKey = config.SUPABASE_KEY;
const supabase = createClient(supabaseUrl, supabaseKey) const supabase = createClient(supabaseUrl, supabaseKey)
// Select DOM elements // Select DOM elements