Skip to content

Commit a5e715c

Browse files
authored
请求统一使用小写 protocol (#666)
1 parent 33c1efc commit a5e715c

File tree

1 file changed

+1
-1
lines changed
  • packages/common/src/upload/common/host

1 file changed

+1
-1
lines changed

packages/common/src/upload/common/host/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export class Host {
4747
* @description 获取当前 host 的完整 url
4848
*/
4949
getUrl() {
50-
return `${this.protocol}://${this.host}`
50+
return `${this.protocol.toLowerCase()}://${this.host}`
5151
}
5252

5353
/**

0 commit comments

Comments
 (0)