mirror of
https://github.com/grafana/grafana.git
synced 2026-08-18 17:15:08 -05:00
Public Dashboards: count public dashboards view requests (#52419)
This commit is contained in:
+1
-1
@@ -113,7 +113,7 @@ func (hs *HTTPServer) registerRoutes() {
|
||||
}
|
||||
|
||||
if hs.Features.IsEnabled(featuremgmt.FlagPublicDashboards) {
|
||||
r.Get("/public-dashboards/:accessToken", publicdashboardsapi.SetPublicDashboardFlag(), hs.Index)
|
||||
r.Get("/public-dashboards/:accessToken", publicdashboardsapi.SetPublicDashboardFlag(), publicdashboardsapi.CountPublicDashboardRequest(), hs.Index)
|
||||
}
|
||||
|
||||
r.Get("/explore", authorize(func(c *models.ReqContext) {
|
||||
|
||||
Reference in New Issue
Block a user