Files
buzz/app/api/auth/[...all]/route.ts
T
2025-11-20 07:09:06 -05:00

5 lines
169 B
TypeScript
Executable File

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