fix: align auth env var naming with NEXT_PUBLIC_SITE_URL
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ import { adminClient, emailOTPClient, lastLoginMethodClient } from 'better-auth/
|
||||
import { passkeyClient } from '@better-auth/passkey/client'
|
||||
|
||||
export const authClient = createAuthClient({
|
||||
baseURL: process.env.NEXT_PUBLIC_BASE_URL || "https://localhost:3000",
|
||||
baseURL: process.env.NEXT_PUBLIC_SITE_URL || "https://localhost:3000",
|
||||
plugins: [
|
||||
emailOTPClient(),
|
||||
passkeyClient(),
|
||||
|
||||
Reference in New Issue
Block a user