Skip to content
Myr

Fix typo in res.redirect deprecation

Before adoption: this commit came in with the history the project adopted, so no landing records it.

closes #2395

authored by Bessie Chan · committed by Douglas Christopher Wilson · parent 9f292d8 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:lib/response.js+1 added-1 removed
736 unmodified lines
737 if ('number' == typeof url) {738 status = url;739 url = arguments[1];740 } else {741 deprecate('res.redirect(ur, status): Use res.redirect(status, url) instead');741 deprecate('res.redirect(url, status): Use res.redirect(status, url) instead');742 status = arguments[1];743 }744 }745
84 unmodified lines