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