Skip to content

Commit

Permalink
Import HTML DB
Browse files Browse the repository at this point in the history
  • Loading branch information
riccoljy committed Jul 2, 2024
1 parent 13d4ebf commit f17eeaa
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions resetPassword/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdn.jsdelivr.net/npm/@supabase/supabase-js@2"></script>
<title>Reset Password</title>
<style>
body {
Expand Down Expand Up @@ -81,16 +82,11 @@ <h2>Reset Password</h2>

<!-- Placeholder for Supabase URL -->
<script>
import { createClient } from "@supabase/supabase-js"; //illegal?
const supabaseUrl = '__SUPABASE_URL__'; // Placeholder for Supabase URL
const supabaseKey = '__SUPABASE_ANON_KEY__'; // Placeholder for Supabase Key
<<<<<<< Updated upstream
console.log("asdsad",supabaseUrl, supabaseKey)

const supabase = createClient(supabaseUrl, supabaseKey); //need to import Supabase first
=======

const supabase = supabase.createClient(supabaseUrl, supabaseKey); //need to import Supabase first
>>>>>>> Stashed changes
const supabaseClient = supabase.createClient(supabaseUrl, supabaseKey); //need to import Supabase first

async function resetPassword() {
console.log("url, key=", supabaseUrl, supabaseKey)
Expand Down

0 comments on commit f17eeaa

Please sign in to comment.