5 lines
156 B
TypeScript
5 lines
156 B
TypeScript
|
|
import { toNextJsHandler } from "better-auth/next-js";
|
||
|
|
import { auth } from "@/lib/auth/auth";
|
||
|
|
|
||
|
|
export const { GET, POST } = toNextJsHandler(auth.handler);
|