chore: remove slash of cdn

pull/1604/head
Noah Hsu 2022-09-02 16:02:06 +08:00
parent 2d2a4f5776
commit bc155af255
1 changed files with 1 additions and 1 deletions

View File

@ -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)