fix: remove JSON from 404 response
This commit is contained in:
parent
37e235452b
commit
04052bfc8e
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue