diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a2d72a2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +config.js \ No newline at end of file diff --git a/scripts/videoplayer.js b/scripts/videoplayer.js index 1903868..edc6167 100644 --- a/scripts/videoplayer.js +++ b/scripts/videoplayer.js @@ -1,6 +1,8 @@ import { createClient } from 'https://cdn.jsdelivr.net/npm/@supabase/supabase-js/+esm'; -const supabaseUrl = 'https://manesldshonpegglmyan.supabase.co' -const supabaseKey = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Im1hbmVzbGRzaG9ucGVnZ2xteWFuIiwicm9sZSI6InNlcnZpY2Vfcm9sZSIsImlhdCI6MTczMDcxNzQ2NCwiZXhwIjoyMDQ2MjkzNDY0fQ.saaJeTtwYZCS3YKJYmQsAOSAEFzUVUJnoJSD8-lgLHo' +import config from '../scripts/config.js'; + +const supabaseUrl = config.SUPABASE_URL; +const supabaseKey = config.SUPABASE_KEY; const supabase = createClient(supabaseUrl, supabaseKey) // Select DOM elements