mirror of
https://github.com/grafana/grafana.git
synced 2025-09-25 11:54:20 +08:00
Public Dashboards: count public dashboards view requests (#52419)
This commit is contained in:

committed by
GitHub

parent
0300b1c674
commit
e0a58300ac
@ -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