handler.ts
This file
Path
adapters/netlify/src/handler.ts
10 lines 路 295 bytes 路 TypeScript
Last changed by
feat(adapters): add the seven adapters as workspace packages (#5463)Yusuke Wadabefore adoptionb877827
History of this fileTake it
1234567891011/* eslint-disable @typescript-eslint/no-explicit-any */import type { Hono } from 'hono'
export const handle = ( app: Hono<any, any>): ((req: Request, context: any) => Response | Promise<Response>) => { return (req: Request, context: any) => { return app.fetch(req, { context }) }}