5 lines
143 B
TypeScript
5 lines
143 B
TypeScript
|
|
import { auth } from '@/lib/auth';
|
||
|
|
import { toNextJsHandler } from 'better-auth/next-js';
|
||
|
|
|
||
|
|
export const { GET, POST } = toNextJsHandler(auth);
|