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