mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #82 from overleaf/ew-jpa-fix-express-deprecations
[misc] fix express deprecations
This commit is contained in:
commit
4fb6c82fc4
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,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