Merge pull request #82 from overleaf/ew-jpa-fix-express-deprecations

[misc] fix express deprecations
This commit is contained in:
Miguel Serrano
2020-06-18 16:10:33 +02:00
committed by GitHub

View File

@@ -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 =