CDN: Fix passing correct prefix to GetContentDeliveryURL (#30777) (#30779)

(cherry picked from commit 561a0a2995)

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
This commit is contained in:
Grot (@grafanabot)
2021-02-01 11:42:45 +01:00
committed by GitHub
co-authored by Torkel Ödegaard
parent 64c13cd46b
commit 7374a963be
+1 -1
View File
@@ -428,7 +428,7 @@ func (hs *HTTPServer) setIndexViewData(c *models.ReqContext) (*dtos.IndexViewDat
NavTree: navTree,
Sentry: &hs.Cfg.Sentry,
Nonce: c.RequestNonce,
ContentDeliveryURL: hs.Cfg.GetContentDeliveryURL((hs.License.Edition())),
ContentDeliveryURL: hs.Cfg.GetContentDeliveryURL(hs.License.ContentDeliveryPrefix()),
}
if setting.DisableGravatar {