Files

5 lines
140 B
TypeScript
Raw Permalink Normal View History

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