From f8cc1c0d8f771891916ceeb36e130ba1767a6033 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=BA=C5=A1=20Juraj=20Koby=C4=BEan?= Date: Fri, 22 Nov 2024 20:07:18 +0100 Subject: [PATCH] =?UTF-8?q?Removed=20private=20key=20=F0=9F=A4=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + scripts/videoplayer.js | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .gitignore 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