5 lines
164 B
TypeScript
5 lines
164 B
TypeScript
import { auth } from "@/lib/auth-session/auth";
|
|
import { toNextJsHandler } from "better-auth/next-js";
|
|
|
|
export const { GET, POST } = toNextJsHandler(auth.handler);
|