mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-11 07:00:47 +02:00
[misc] fix express deprecations
Co-Authored-By: Jakob Ackermann <jakob.ackermann@overleaf.com>
This commit is contained in:
committed by
Jakob Ackermann
parent
79f65ded76
commit
98c1ffefff
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user