Skip to content

Commit d92cd40

Browse files
committed
fix auth client
1 parent b5801aa commit d92cd40

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/auth-client.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { createAuthClient } from 'better-auth/react';
2+
import { env } from './env.mjs';
23
export const authClient = createAuthClient({
34
/** The base URL of the server (optional if you're using the same domain) */
4-
baseURL: 'http://localhost:3000',
5+
baseURL: env.BETTER_AUTH_URL,
56
});

0 commit comments

Comments
 (0)