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:
parent
65f92bf0c3
commit
5e951f028e
@ -849,7 +849,7 @@ func (a AppService) SyncAppListFromRemote() (err error) {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iconStr := ""
|
iconStr := ""
|
||||||
if !strings.Contains(string(body), "xml") {
|
if !strings.Contains(string(body), "<xml>") {
|
||||||
iconStr = base64.StdEncoding.EncodeToString(body)
|
iconStr = base64.StdEncoding.EncodeToString(body)
|
||||||
}
|
}
|
||||||
_ = iconRes.Body.Close()
|
_ = iconRes.Body.Close()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user