mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #4121 from overleaf/jpa-health-check-api
[misc] add /health_check/api GitOrigin-RevId: bfa907821e8b5963a865a59fdbc717de34159834
This commit is contained in:
parent
051c9960f0
commit
710035899a
1 changed files with 10 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue