Skip to content

Instantly share code, notes, and snippets.

@mikevalstar
Created January 18, 2012 15:33
Show Gist options
  • Save mikevalstar/1633553 to your computer and use it in GitHub Desktop.
Save mikevalstar/1633553 to your computer and use it in GitHub Desktop.
Tutorial app.js addition of 404 page
// 404 Page
app.use(function(req, res, next){
res.render('404.jade', {title: "404 - Page Not Found", showFullNav: false, status: 404, url: req.url });
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment