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