var express = require('express');
var router = express.Router();

/* GET home page. */
router.get('*', function(req, res) {
  res.render('index', { title: 'Goodbye!' });
});

module.exports = router;

var express = require('express');
var router = express.Router();

/* GET home page. */
router.all('*', function(req, res) {
  res.render('index', { title: 'Goodbye!' });
});

module.exports = router;

Make all HTTP verbs return the Goodbye message
Make all HTTP verbs return the Goodbye message