Files
image-apiv3/app/api/auth/[...all]/route.ts
Beyhan Oğur 031582ea2c first commit
2026-04-26 22:11:03 +03:00

5 lines
147 B
TypeScript

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