mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-10 17:13:30 +08:00
fix: 解决部分应用图标不显示的问题 (#5080)
This commit is contained in:
parent
5e0abeaf47
commit
a73d13de00
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue