🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.
fix base
Bill Yang5bee6d3e5aa4
diff --git a/client/src/lib/auth.ts b/client/src/lib/auth.tsindex 0cf925fff..275f0502a 100644--- a/client/src/lib/auth.ts+++ b/client/src/lib/auth.ts@@ -1,9 +1,8 @@-import { createAuthClient } from "better-auth/react";import { usernameClient } from "better-auth/client/plugins";-import { BACKEND_URL } from "./const";+import { createAuthClient } from "better-auth/react";export const authClient = createAuthClient({- baseURL: BACKEND_URL,+ baseURL: process.env.NEXT_PUBLIC_BACKEND_URL,plugins: [usernameClient()],fetchOptions: {credentials: "include",