diff --git a/.gitignore b/.gitignore index f24f3e9..0a961c4 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ dist-ssr *.sln *.sw? index.html +package-lock.json diff --git a/app/services/client.js b/app/services/client.js new file mode 100644 index 0000000..3a4c8b7 --- /dev/null +++ b/app/services/client.js @@ -0,0 +1,5 @@ +import { createClient } from '@supabase/supabase-js' + +const supabaseUrl = process.env.SUPABASE_PUBLIC_URL +const supabaseKey = process.env.SUPABASE_ANON_PUBLIC_KEY +createClient(supabaseUrl, supabaseKey) diff --git a/package.json b/package.json index fd289f2..479dfe1 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "vite": "5.0.8" }, "dependencies": { + "@supabase/supabase-js": "2.39.2", "emmy-dom": "0.1.2" } } diff --git a/vite.config.js b/vite.config.js index 31b0d81..da0580e 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,3 +1,3 @@ export default { - base: '/uottahack.osuc.dev' + base: '/' }