1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-19 08:19:15 +08:00

fix: 解决部分应用图标不显示的问题 (#5080)

This commit is contained in:
zhengkunwang 2024-05-21 16:40:45 +08:00 committed by GitHub
parent 65f92bf0c3
commit 5e951f028e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -849,7 +849,7 @@ func (a AppService) SyncAppListFromRemote() (err error) {
return err
}
iconStr := ""
if !strings.Contains(string(body), "xml") {
if !strings.Contains(string(body), "<xml>") {
iconStr = base64.StdEncoding.EncodeToString(body)
}
_ = iconRes.Body.Close()