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