chore: replace $version
of cdn with webVersion
This commit is contained in:
parent
71d30b6819
commit
4ea19ae078
@ -26,6 +26,7 @@ func InitIndex() {
|
|||||||
|
|
||||||
func UpdateIndex() {
|
func UpdateIndex() {
|
||||||
cdn := strings.TrimSuffix(conf.Conf.Cdn, "/")
|
cdn := strings.TrimSuffix(conf.Conf.Cdn, "/")
|
||||||
|
cdn = strings.ReplaceAll(cdn, "$version", conf.WebVersion)
|
||||||
basePath := setting.GetStr(conf.BasePath)
|
basePath := setting.GetStr(conf.BasePath)
|
||||||
apiUrl := setting.GetStr(conf.ApiUrl)
|
apiUrl := setting.GetStr(conf.ApiUrl)
|
||||||
favicon := setting.GetStr(conf.Favicon)
|
favicon := setting.GetStr(conf.Favicon)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user