feat: Add dedicated login and logout routes, refactor Supabase environment variables, and update registration form UI.
This commit is contained in:
@@ -3,10 +3,10 @@ import { createServerOnlyFn } from "@tanstack/react-start"
|
||||
import { getCookies, setCookie } from "@tanstack/react-start/server"
|
||||
|
||||
const supabase_url = createServerOnlyFn(
|
||||
() => process.env.VITE_SUPABASE_URL as string
|
||||
() => process.env.SUPABASE_URL as string
|
||||
)
|
||||
const supabase_key = createServerOnlyFn(
|
||||
() => process.env.VITE_SUPABASE_KEY as string
|
||||
() => process.env.SUPABASE_KEY as string
|
||||
)
|
||||
|
||||
export function getSupabaseServerClient() {
|
||||
|
||||
Reference in New Issue
Block a user