mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
[misc] fix express deprecations
Co-Authored-By: Jakob Ackermann <jakob.ackermann@overleaf.com>
This commit is contained in:
parent
79f65ded76
commit
98c1ffefff
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ app.get('/health_check', HttpController.healthCheck)
|
|||
|
||||
app.use(function(error, req, res, next) {
|
||||
logger.error({ err: error, req }, 'an internal error occured')
|
||||
return res.send(500)
|
||||
return res.sendStatus(500)
|
||||
})
|
||||
|
||||
const port =
|
||||
|
|
Loading…
Reference in a new issue