better-auth/apps/web/app/api/[[...rest]]/route.ts
 Илья Шалонин 8538ab969a first
2025-10-29 13:43:43 +05:00

11 lines
280 B
TypeScript

import { app } from "@repo/api";
import { handle } from "hono/vercel";
const handler = handle(app);
export const GET = handler;
export const POST = handler;
export const PUT = handler;
export const PATCH = handler;
export const DELETE = handler;
export const OPTIONS = handler;