Closed Livshitz closed 6 months ago
Should be using createServerAdapter adapter to convert to express-compatible handler. Based on this issue conversation: https://github.com/kwhitley/itty-router/issues/246#issuecomment-2110506175
createServerAdapter
v5 changes created regression in the way express handled router.handle. The right way is anyway to use createServerAdapter (from @whatwg-node/server) to make itty's router express-compatible.
express
router.handle
@whatwg-node/server
Link to the related issue: https://github.com/kwhitley/itty-router/issues/246#issuecomment-2110506175
Thanks, Elya! <3
Should be using
createServerAdapter
adapter to convert to express-compatible handler. Based on this issue conversation: https://github.com/kwhitley/itty-router/issues/246#issuecomment-2110506175Description
v5 changes created regression in the way
express
handledrouter.handle
. The right way is anyway to usecreateServerAdapter
(from@whatwg-node/server
) to make itty's router express-compatible.Related Issue
Link to the related issue: https://github.com/kwhitley/itty-router/issues/246#issuecomment-2110506175
Type of Change (select one and follow subtasks)