mirror of
https://github.com/AlistGo/alist.git
synced 2025-04-21 20:18:47 +08:00
chore: replace $version
of cdn with webVersion
This commit is contained in:
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…
x
Reference in New Issue
Block a user