Skip to content
Myr

added another res.redirect() example

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

authored by TJ Holowaychuk · committed by TJ Holowaychuk · parent acc0e93 · Browse files · 1 file+1 added−0 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−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:lib/response.js+1 added
489 unmodified lines
490 *491 * res.redirect('/foo/bar');492 * res.redirect('http://example.com');493 * res.redirect(301, 'http://example.com');494 * res.redirect('../login'); // /blog/post/1 -> /blog/login495 *496 * Mounting:497 *498 * When an application is mounted, and `res.redirect()`
138 unmodified lines