Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

express redirect

res.redirect('/foo/bar')
res.redirect('http://example.com')
res.redirect(301, 'http://example.com')
res.redirect('../login')
 
PREVIOUS NEXT
Tagged: #express #redirect
ADD COMMENT
Topic
Name
1+3 =