Files
portabase/app/api/auth/[...all]/route.ts
T

5 lines
156 B
TypeScript
Raw Normal View History

2025-05-16 15:54:17 +02:00
import { auth } from "@/lib/auth/auth";
import { toNextJsHandler } from "better-auth/next-js";
export const { GET, POST } = toNextJsHandler(auth.handler);