mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-17 07:51:44 +00:00
health checks should be on api router with no sessions
This commit is contained in:
parent
5e30310aae
commit
d2e4e22511
1 changed files with 2 additions and 2 deletions
|
@ -238,8 +238,8 @@ module.exports = class Router
|
|||
res.send("websharelatex is up")
|
||||
|
||||
|
||||
webRouter.get '/health_check', HealthCheckController.check
|
||||
webRouter.get '/health_check/redis', HealthCheckController.checkRedis
|
||||
apiRouter.get '/health_check', HealthCheckController.check
|
||||
apiRouter.get '/health_check/redis', HealthCheckController.checkRedis
|
||||
|
||||
apiRouter.get "/status/compiler/:Project_id", AuthorizationMiddlewear.ensureUserCanReadProject, (req, res) ->
|
||||
sendRes = _.once (statusCode, message)->
|
||||
|
|
Loading…
Reference in a new issue