Files
hamburger/app/api/auth/[...all]/route.ts
T
yaemiku aac328e8ef
Build Full Stack / release-image (push) Successful in 5m20s
update
2026-03-28 04:27:38 +01:00

5 lines
169 B
TypeScript

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