From 2c3c93eb96f563df644512115d9dc7be38dba3fe Mon Sep 17 00:00:00 2001 From: yinxulai Date: Wed, 10 Jul 2024 11:02:44 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=B7=E6=B1=82=E7=BB=9F=E4=B8=80=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E5=B0=8F=E5=86=99=20protocol?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/common/src/upload/common/host/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/common/src/upload/common/host/index.ts b/packages/common/src/upload/common/host/index.ts index 827dd358..214f0108 100644 --- a/packages/common/src/upload/common/host/index.ts +++ b/packages/common/src/upload/common/host/index.ts @@ -47,7 +47,7 @@ export class Host { * @description 获取当前 host 的完整 url */ getUrl() { - return `${this.protocol}://${this.host}` + return `${this.protocol.toLowerCase()}://${this.host}` } /**