Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

express redirect

app.get('/', (req, res) => {
  res.redirect('/foo/bar');
});
 
PREVIOUS NEXT
Tagged: #express #redirect
ADD COMMENT
Topic
Name
8+1 =