fix: vanilla auth update

This commit is contained in:
awalias committed 2021-03-22 18:19:48 +08:00
1 parent 9326939cb2
commit d0b3b37290
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://unpkg.com/@supabase/supabase-js"></script>
<script src="https://cdn.jsdelivr.net/npm/@supabase/supabase-js"></script>
<script src="./index.js"></script>
<link rel="stylesheet" type="text/css" href="./index.css">
</head>
+3 -3
View File
@@ -1,9 +1,9 @@
var SUPABASE_URL = '<supabase url - retrieve from supabase dashboard>'
var SUPABASE_URL = 'https://ernhobnpmmupjnmxpfbt.supabase.co'
var SUPABASE_KEY =
'<client key - retrieve from supabase dashboard>'
'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYW5vbiIsImlhdCI6MTYxMzA5ODU0NCwiZXhwIjoxOTI4Njc0NTQ0fQ.Z9bRrfaL2oGhSuyBckFcdcnRIJDelWJ1II98OnEtLO0'
var supabase = Supabase.createClient(SUPABASE_URL, SUPABASE_KEY)
var supabase = supabase.createClient(SUPABASE_URL, SUPABASE_KEY)
window.userToken = null
document.addEventListener('DOMContentLoaded', function (event) {