Trivial: Give the middleware init function an explicit name.
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Middleware stack printout before: NODE> app.stack [ { route: '', handle: [Function: query] }, { route: '', handle: [Function] }, { route: '', handle: [Function: favicon] }, { route: '', handle: [Function: logger] }, Middleware stack printout after: NODE> app.stack [ { route: '', handle: [Function: query] }, { route: '', handle: [Function: expressInit] }, { route: '', handle: [Function: favicon] }, { route: '', handle: [Function: logger] },
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+2 added−2 removed
- other:+2 added−2 removed