Skip to content
Myr

handler.ts

This file

Path

src/adapter/netlify/handler.ts

13 lines · 417 bytes · TypeScript

Last changed by

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

History of this file

Take it

The walk stopped after 200 commits: lines older than f0b094d point at it.

Merge commit from forkYusuke Wadabefore adoptionf0b094d

lines 1–3why, one step back
1/* eslint-disable @typescript-eslint/no-explicit-any */
2import type { Hono } from '../../hono'3

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

lines 4–6why, one step back
4/**
5 * @deprecated `hono/netlify` will be removed in v5. Install `@hono/netlify` and import from there instead.6 */

Merge commit from forkYusuke Wadabefore adoptionf0b094d

lines 7–13why, one step back
7export const handle = (
8 app: Hono<any, any>9): ((req: Request, context: any) => Response | Promise<Response>) => {10 return (req: Request, context: any) => {11 return app.fetch(req, { context })12 }13}