franciscop / server

:desktop_computer: Simple and powerful server for Node.js
https://serverjs.io/
MIT License
3.56k stars 170 forks source link

Fixed 132 by making sure the routers send the reply #133

Closed franciscop closed 3 years ago

franciscop commented 3 years ago

The join() method skips any subsequent middleware if any middleware marks the request as solved, but in the case of a router it could happen that a route was marked as solved but was not fully sent. Fixed that for both the general methods (get/post/put/del) and for sub() as well.