Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

express redirect to url

app.get('/', (req, res) => {
  res.redirect('/about');
})
 
PREVIOUS NEXT
Tagged: #express #redirect #url
ADD COMMENT
Topic
Name
3+9 =