mirror of https://github.com/Xhofe/alist
chore: replace `$version` of cdn with `webVersion`
parent
71d30b6819
commit
4ea19ae078
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue