v1.3.7
- Added option to set a catch all route
router.get('*', (req, res) => {
res.status = 404
res.headers.set('Content-Type', 'text/html; charset=utf-8')
res.body = "<h1>No one's home, sorry!</h1>"
})
router.get('*', (req, res) => {
res.status = 404
res.headers.set('Content-Type', 'text/html; charset=utf-8')
res.body = "<h1>No one's home, sorry!</h1>"
})