[feat] setup supabase + notice and cfgx fetching

This commit is contained in:
Purp1e
2025-03-15 04:18:57 +08:00
parent 815cdb55f1
commit 3c5a354db1
14 changed files with 280 additions and 10 deletions

View File

@@ -0,0 +1,7 @@
import { createBrowserClient } from "@supabase/ssr"
export const createClient = () =>
createBrowserClient(
process.env.NEXT_PUBLIC_SUPABASE_URL!,
process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,
)