From 5b79523a11f79631b04d062e0c0009f98b75bde7 Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期五, 12 七月 2024 15:23:41 +0800 Subject: [PATCH] Update HDL_APP_Project.sln --- HDL_ON/Common/ImageUtlis.cs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/HDL_ON/Common/ImageUtlis.cs b/HDL_ON/Common/ImageUtlis.cs index 87c0daf..253319b 100644 --- a/HDL_ON/Common/ImageUtlis.cs +++ b/HDL_ON/Common/ImageUtlis.cs @@ -181,7 +181,7 @@ /// </summary> public byte[] GetImageDownloadUrl(string imageKey) { - if (imageKey.StartsWith("https:")) + if (imageKey.StartsWith("https:") || imageKey.StartsWith("http:")) { return HttpUtil.HttpsDownload(imageKey); } -- Gitblit v1.8.0