From 5e951f028ee271fc6eb592f2352dc90e23a3aa32 Mon Sep 17 00:00:00 2001 From: zhengkunwang <31820853+zhengkunwang223@users.noreply.github.com> Date: Tue, 21 May 2024 16:40:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E9=83=A8=E5=88=86?= =?UTF-8?q?=E5=BA=94=E7=94=A8=E5=9B=BE=E6=A0=87=E4=B8=8D=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98=20(#5080)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/app/service/app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/service/app.go b/backend/app/service/app.go index 6c60471b4..1ff2ad309 100644 --- a/backend/app/service/app.go +++ b/backend/app/service/app.go @@ -849,7 +849,7 @@ func (a AppService) SyncAppListFromRemote() (err error) { return err } iconStr := "" - if !strings.Contains(string(body), "xml") { + if !strings.Contains(string(body), "") { iconStr = base64.StdEncoding.EncodeToString(body) } _ = iconRes.Body.Close()