-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
node-server implements its own serverStatic
middleware.
https://github.com/honojs/node-server/blob/74e86a28f375e5acd52e342519ff2b1110a95c16/src/serve-static.ts
However, serveStatic
base implementation is provided in Hono main repo:
https://github.com/honojs/hono/blob/c0d782cd649525ce40489906a24d83607deede29/src/middleware/serve-static/index.ts
The base implementation is used by Bun adapter Deno adapter, which drastically eases implementing new feature like honojs/hono#3461
It is great if node-server also uses the base implementation.
yusukebe
Metadata
Metadata
Assignees
Labels
No labels