mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
make compiler health check available on web
This commit is contained in:
parent
62d6933886
commit
02cb0f2295
1 changed files with 1 additions and 1 deletions
|
@ -276,7 +276,7 @@ module.exports = class Router
|
|||
apiRouter.get '/health_check', HealthCheckController.check
|
||||
apiRouter.get '/health_check/redis', HealthCheckController.checkRedis
|
||||
|
||||
apiRouter.get "/status/compiler/:Project_id", AuthorizationMiddlewear.ensureUserCanReadProject, (req, res) ->
|
||||
webRouter.get "/status/compiler/:Project_id", AuthorizationMiddlewear.ensureUserCanReadProject, (req, res) ->
|
||||
project_id = req.params.Project_id
|
||||
sendRes = _.once (statusCode, message)->
|
||||
res.status statusCode
|
||||
|
|
Loading…
Reference in a new issue