5 lines
169 B
TypeScript
Executable File
5 lines
169 B
TypeScript
Executable File
import { toNextJsHandler } from "better-auth/next-js";
|
|
import { auth } from "@/lib/auth"; // path to your auth file
|
|
|
|
export const { POST, GET } = toNextJsHandler(auth);
|