From 88678e8db6c42190c75a59e1e09dbeae34788119 Mon Sep 17 00:00:00 2001 From: cynicalmindset Date: Wed, 20 May 2026 10:52:35 +0530 Subject: [PATCH] supa --- .gitignore | 4 +--- src/supabase.js | 6 ++++++ 2 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 src/supabase.js diff --git a/.gitignore b/.gitignore index f131802..369e662 100644 --- a/.gitignore +++ b/.gitignore @@ -28,6 +28,4 @@ dist-ssr .env.test.local .env.production.local .env -node_modules/ -supabase/ -supabase.js \ No newline at end of file +node_modules/ \ No newline at end of file diff --git a/src/supabase.js b/src/supabase.js new file mode 100644 index 0000000..c4aea25 --- /dev/null +++ b/src/supabase.js @@ -0,0 +1,6 @@ +import { createClient } from "@supabase/supabase-js"; +//import this mfffffffff +const supabaseURL = import.meta.env.VITE_PUBLIC_SUPABASE_URL; +const supabaseAnonkey = import.meta.env.VITE_PUBLIC_SUPABASE_PUBLISHABLE_KEY; + +export const supabase = createClient(supabaseURL, supabaseAnonkey); \ No newline at end of file