We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5801aa commit d92cd40Copy full SHA for d92cd40
src/auth-client.ts
@@ -1,5 +1,6 @@
1
import { createAuthClient } from 'better-auth/react';
2
+import { env } from './env.mjs';
3
export const authClient = createAuthClient({
4
/** The base URL of the server (optional if you're using the same domain) */
- baseURL: 'http://localhost:3000',
5
+ baseURL: env.BETTER_AUTH_URL,
6
});
0 commit comments