fix: align auth client basePath with server config

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Barcode Betty
2026-03-29 18:52:54 +00:00
parent cfda1b544d
commit 8b923cd318
+1
View File
@@ -2,6 +2,7 @@ import { createAuthClient } from "better-auth/react"
export const authClient = createAuthClient({
baseURL: import.meta.env.VITE_AUTH_URL ?? "http://localhost:3001",
basePath: "/auth",
})
export const { useSession, signIn, signUp, signOut } = authClient