Merge pull request #4121 from overleaf/jpa-health-check-api

[misc] add /health_check/api

GitOrigin-RevId: bfa907821e8b5963a865a59fdbc717de34159834
This commit is contained in:
Jakob Ackermann 2021-05-31 18:59:51 +02:00 committed by Copybot
parent 051c9960f0
commit 710035899a

View file

@ -1013,6 +1013,16 @@ function initialize(webRouter, privateApiRouter, publicApiRouter) {
HealthCheckController.checkActiveHandles, HealthCheckController.checkActiveHandles,
HealthCheckController.checkApi HealthCheckController.checkApi
) )
publicApiRouter.get(
'/health_check/api',
HealthCheckController.checkActiveHandles,
HealthCheckController.checkApi
)
privateApiRouter.get(
'/health_check/api',
HealthCheckController.checkActiveHandles,
HealthCheckController.checkApi
)
publicApiRouter.get( publicApiRouter.get(
'/health_check/full', '/health_check/full',
HealthCheckController.checkActiveHandles, HealthCheckController.checkActiveHandles,