Skip to content

Commit

Permalink
请求统一使用小写 protocol (#666)
Browse files Browse the repository at this point in the history
  • Loading branch information
yinxulai authored Jul 10, 2024
1 parent 33c1efc commit a5e715c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/common/src/upload/common/host/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export class Host {
* @description 获取当前 host 的完整 url
*/
getUrl() {
return `${this.protocol}://${this.host}`
return `${this.protocol.toLowerCase()}://${this.host}`
}

/**
Expand Down

0 comments on commit a5e715c

Please sign in to comment.