mirror of https://github.com/Xhofe/alist
chore: remove slash of cdn
parent
2d2a4f5776
commit
bc155af255
|
@ -25,7 +25,7 @@ func InitIndex() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func UpdateIndex() {
|
func UpdateIndex() {
|
||||||
cdn := conf.Conf.Cdn
|
cdn := strings.TrimSuffix(conf.Conf.Cdn, "/")
|
||||||
basePath := setting.GetByKey(conf.BasePath)
|
basePath := setting.GetByKey(conf.BasePath)
|
||||||
apiUrl := setting.GetByKey(conf.ApiUrl)
|
apiUrl := setting.GetByKey(conf.ApiUrl)
|
||||||
favicon := setting.GetByKey(conf.Favicon)
|
favicon := setting.GetByKey(conf.Favicon)
|
||||||
|
|
Loading…
Reference in New Issue