Files
image-apiv2/app/api/auth/[...all]/route.ts
Beyhan Oğur 71eff2d979 first commit
2026-04-26 22:09:32 +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);