mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-10 20:37:46 +00:00
4 lines
142 B
TypeScript
4 lines
142 B
TypeScript
import { auth } from "@/lib/auth";
|
|
import { toNextJsHandler } from "better-auth/next-js";
|
|
|
|
export const { GET, POST } = toNextJsHandler(auth); |