Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

node express dynamic route and error handler

app.use(function (req, res, next) {
  res.status(404).send("Sorry can't find that!")
})
Source by expressjs.com #
 
PREVIOUS NEXT
Tagged: #node #express #dynamic #route #error #handler
ADD COMMENT
Topic
Name
7+7 =