Files
tunnl_please_frontend/app/api/auth/[...all]/route.ts
bagas 018a980dcb
All checks were successful
Docker Build and Push / build-and-push (push) Successful in 15m8s
feat: add auth
2025-10-01 17:16:58 +07:00

3 lines
141 B
TypeScript

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