CDN: Fixes cdn path when Grafana is under sub path (#30822) (#30823)

(cherry picked from commit 64254eaa82)

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
This commit is contained in:
Grot (@grafanabot)
2021-02-02 14:03:17 +01:00
committed by GitHub
co-authored by Torkel Ödegaard
parent 22171be811
commit 880c78f1d7
3 changed files with 20 additions and 14 deletions
+1 -1
View File
@@ -1320,7 +1320,7 @@ func (cfg *Cfg) GetContentDeliveryURL(prefix string) string {
}
url.Path = path.Join(url.Path, prefix, preReleaseFolder, cfg.BuildVersion)
return url.String()
return url.String() + "/"
}
return ""