settings/middleware/not-found.js

4 lines
103 B
JavaScript

const notFound = (req, res) => res.status(404).send('Route does not exist')
module.exports = notFound