Skip to content

Commit

Permalink
feat: add Supabase.js dependency and update base URL
Browse files Browse the repository at this point in the history
  • Loading branch information
eanorambuena committed Jan 6, 2024
1 parent b058658 commit 6724955
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ dist-ssr
*.sln
*.sw?
index.html
package-lock.json
5 changes: 5 additions & 0 deletions app/services/client.js
Original file line number Diff line number Diff line change
@@ -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)
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"vite": "5.0.8"
},
"dependencies": {
"@supabase/supabase-js": "2.39.2",
"emmy-dom": "0.1.2"
}
}
2 changes: 1 addition & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export default {
base: '/uottahack.osuc.dev'
base: '/'
}

0 comments on commit 6724955

Please sign in to comment.