settings/middleware/not-found.js

4 lines
103 B
JavaScript
Raw Normal View History

2024-07-30 11:26:42 +00:00
const notFound = (req, res) => res.status(404).send('Route does not exist')
module.exports = notFound