3 ms·
Doesn't this seem like a bug in the express router? All of the additional routes in the array are dead (can't be routed to).
by debacle 12y ago
Doesn't this seem like a bug in the express router? All of the additional routes in the array are dead (can't be routed to).
- dugmartin 12y agoNo, because the route list is also used for middleware. The recursive search is because middleware routes have a third next parameter that allows the search to run asynchronously.
- deleted 12y ago[deleted]