handler.ts
This file
Path
src/adapter/vercel/handler.ts
11 lines 路 346 bytes 路 TypeScript
Last changed by
feat(adapters): add the seven adapters as workspace packages (#5463)Yusuke Wadabefore adoptionb877827
History of this fileTake it
123456789101112/* eslint-disable @typescript-eslint/no-explicit-any */import type { Hono } from '../../hono'
/** * @deprecated `hono/vercel` will be removed in v5. Install `@hono/vercel` and import from there instead. */export const handle = (app: Hono<any, any, any>) => (req: Request): Response | Promise<Response> => { return app.fetch(req) }