File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -27,12 +27,7 @@ export async function getSystemProxy(): Promise<ProxyConfig | undefined> {
27
27
28
28
const noProxy = proxySettings . ExceptionsList || [ ] ;
29
29
30
- if ( proxySettings . HTTPSEnable && proxySettings . HTTPSProxy && proxySettings . HTTPSPort ) {
31
- return {
32
- proxyUrl : `https://${ proxySettings . HTTPSProxy } :${ proxySettings . HTTPSPort } ` ,
33
- noProxy
34
- } ;
35
- } else if ( proxySettings . HTTPEnable && proxySettings . HTTPProxy && proxySettings . HTTPPort ) {
30
+ if ( proxySettings . HTTPEnable && proxySettings . HTTPProxy && proxySettings . HTTPPort ) {
36
31
return {
37
32
proxyUrl : `http://${ proxySettings . HTTPProxy } :${ proxySettings . HTTPPort } ` ,
38
33
noProxy
@@ -42,6 +37,11 @@ export async function getSystemProxy(): Promise<ProxyConfig | undefined> {
42
37
proxyUrl : `socks://${ proxySettings . SOCKSProxy } :${ proxySettings . SOCKSPort } ` ,
43
38
noProxy
44
39
} ;
40
+ } else if ( proxySettings . HTTPSEnable && proxySettings . HTTPSProxy && proxySettings . HTTPSPort ) {
41
+ return {
42
+ proxyUrl : `http://${ proxySettings . HTTPSProxy } :${ proxySettings . HTTPSPort } ` ,
43
+ noProxy
44
+ } ;
45
45
} else {
46
46
return undefined ;
47
47
}
You can’t perform that action at this time.
0 commit comments