diff --git a/server/static/static.go b/server/static/static.go index cbe3b12e..e3b2873d 100644 --- a/server/static/static.go +++ b/server/static/static.go @@ -26,6 +26,7 @@ func InitIndex() { func UpdateIndex() { cdn := strings.TrimSuffix(conf.Conf.Cdn, "/") + cdn = strings.ReplaceAll(cdn, "$version", conf.WebVersion) basePath := setting.GetStr(conf.BasePath) apiUrl := setting.GetStr(conf.ApiUrl) favicon := setting.GetStr(conf.Favicon)