fix: remove JSON from 404 response

This commit is contained in:
Sérgio Salgado 2022-10-06 19:17:03 +01:00 committed by Rafael
parent 37e235452b
commit 04052bfc8e

View file

@ -62,7 +62,7 @@ app.use('/robots.txt', (req, res) => {
})
app.get('/', (req, res) => {
res.status(404).json({ error: 'No such route' })
res.sendStatus(404)
})
// app /pair and /ca routes