Skip to content

v1.3.7

Compare
Choose a tag to compare
@tsndr tsndr released this 25 Jun 11:11
· 177 commits to main since this release
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>"
})