Files
portabase/app/api/auth/[...all]/route.ts
T
2025-05-16 15:54:17 +02:00

5 lines
156 B
TypeScript

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