10 lines
242 B
TypeScript
10 lines
242 B
TypeScript
import { createAuthClient } from "better-auth/react";
|
|
import { adminClient } from "better-auth/client/plugins";
|
|
|
|
export const authClient = createAuthClient({
|
|
baseURL: process.env.NEXT_PUBLIC_APP_URL!,
|
|
plugins: [
|
|
adminClient(),
|
|
]
|
|
})
|