Files

5 lines
150 B
TypeScript

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