Files

5 lines
156 B
TypeScript
Raw Permalink Normal View History

import { toNextJsHandler } from "better-auth/next-js";
import { auth } from "@/lib/auth/auth";
export const { GET, POST } = toNextJsHandler(auth.handler);