jrf0110 / 8track

A service worker router with async middleware and neato type-inference inspired by Koa
56 stars 6 forks source link

`ctx.end` doesn't include the status code correctly #69

Closed rcccf closed 4 months ago

rcccf commented 4 months ago

See https://github.com/jrf0110/8track/blob/master/src/Context.ts#L31-L39

Seems like the spread operator doesn't do what you want it to do:

Screenshot 2024-06-19 at 1 23 34 PM

cc @everlag