Files
stanza/registry/modules/auth-better-auth/templates/next/route.ts
T
2026-05-20 11:52:53 -04:00

5 lines
143 B
TypeScript

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