8 lines
248 B
TypeScript
8 lines
248 B
TypeScript
import { jwtClient, adminClient } from 'better-auth/client/plugins';
|
|
import { createAuthClient } from 'better-auth/svelte';
|
|
|
|
export const authClient = createAuthClient({
|
|
baseURL: 'http://localhost:5173',
|
|
plugins: [jwtClient(), adminClient()]
|
|
});
|