Skip to content
Myr

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 file

Take it

feat(adapters): add the seven adapters as workspace packages (#5463)Yusuke Wadabefore adoptionb877827

lines 1–10why, one step back
1/* eslint-disable @typescript-eslint/no-explicit-any */
2import type { Hono } from 'hono'34export const handle = (5 app: Hono<any, any>6): ((req: Request, context: any) => Response | Promise<Response>) => {7 return (req: Request, context: any) => {8 return app.fetch(req, { context })9 }10}