This commit is contained in:
Aman Varshney
2025-04-14 21:45:28 +05:30
parent 8b03441909
commit 7f441ef670
268 changed files with 3513 additions and 3039 deletions

View File

@@ -0,0 +1,10 @@
import { createAuthClient } from "better-auth/react";
export const authClient = createAuthClient({
baseURL:
{{#if (includes frontend "next")}}
process.env.NEXT_PUBLIC_SERVER_URL,
{{else}}
import.meta.env.VITE_SERVER_URL,
{{/if}}
});