Skip to content
Snippets Groups Projects
Commit a54eb31e authored by Aulia  Nadhirah Yasmin Badrulkamal's avatar Aulia Nadhirah Yasmin Badrulkamal
Browse files

:tools: FIX : supabase url and anon key

parent 2349a51d
No related merge requests found
...@@ -3,7 +3,7 @@ import { PrismaClient } from '@prisma/client' ...@@ -3,7 +3,7 @@ import { PrismaClient } from '@prisma/client'
import { createClient } from '@supabase/supabase-js' import { createClient } from '@supabase/supabase-js'
const route = express.Router(); const route = express.Router();
const prisma = new PrismaClient() const prisma = new PrismaClient()
const supabase = createClient('your-supabase-url', 'your-public-anon-key') const supabase = createClient('https://wmopxlxfpunewsedxrng.supabase.co', 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Indtb3B4bHhmcHVuZXdzZWR4cm5nIiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTgyMTYxNjgsImV4cCI6MjAxMzc5MjE2OH0.UU_sOfqozmDEDX9iH9zAfxrvddTy8JykuGpP5hNHSWk')
route.post('/login', async (req, res)=>{ route.post('/login', async (req, res)=>{
// const { username, password } = req.body // const { username, password } = req.body
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment