4 lines
No EOL
142 B
TypeScript
4 lines
No EOL
142 B
TypeScript
import { auth } from "@/lib/auth";
|
|
import { toNextJsHandler } from "better-auth/next-js";
|
|
|
|
export const { POST, GET } = toNextJsHandler(auth); |