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.
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.