Merge pull request #2732 from overleaf/ho-metrics-web-api

add metrics route to web api

GitOrigin-RevId: 7a39228d864545e4423d2c0c38ab0f16d495cf86
This commit is contained in:
Simon Detheridge 2020-04-08 14:43:30 +01:00 committed by Copybot
parent 117cd59b40
commit 0099032963

View file

@ -251,6 +251,7 @@ if (enableWebRouter || notDefined(enableWebRouter)) {
}
metrics.injectMetricsRoute(webRouter)
metrics.injectMetricsRoute(privateApiRouter)
Router.initialize(webRouter, privateApiRouter, publicApiRouter)