Skip to content

Commit

Permalink
only use host without protocal
Browse files Browse the repository at this point in the history
  • Loading branch information
tianfeng92 committed Oct 20, 2023
1 parent 0a80635 commit b1746c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function getProxySetting() {
return;
}
return {
proxyHost: proxy.slice(0, -1).join(':'),
proxyHost: proxy[1],
proxyPort: proxy[2],
}
}
Expand Down

0 comments on commit b1746c8

Please sign in to comment.