Fixed middleware precedence. Closes #345
Before adoption: this commit came in with the history the project adopted, so no landing records it.
The first call to app.{get,del,put,post}() will stack the router middleware. This means config can flow naturally BEFORE any routes have been created, preventing breakage of bodyDecoder etc
authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent 47602f2 · Browse files · 2 files+13 added−5 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+13 added−5 removed
- tests:+8 added−2 removed
- other:+5 added−3 removed