express-debug icon indicating copy to clipboard operation
express-debug copied to clipboard

Route profile missing when same fn assigned to multiple methods

Open devoidfury opened this issue 12 years ago • 0 comments

Duplication: Assign the same route function to both get and post.

app.get('/', routes.landing); app.post('/', routes.landing);

Result: get route will be profiled, post route will not.

devoidfury avatar May 08 '13 00:05 devoidfury