Skip to content

Commit b5550d7

Browse files
committed
fix: Proxy for o11y and a11y
1 parent eda4b76 commit b5550d7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

bin/accessibility-automation/helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ const nodeRequest = (type, url, data, config) => {
155155
};
156156

157157
if(process.env.HTTP_PROXY){
158-
options.httpAgent = new HttpsProxyAgent(process.env.HTTP_PROXY);
158+
options.httpsAgent = new HttpsProxyAgent(process.env.HTTP_PROXY);
159159

160160
} else if (process.env.HTTPS_PROXY){
161161
options.httpsAgent = new HttpsProxyAgent(process.env.HTTPS_PROXY);

bin/testObservability/crashReporter/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ class CrashReporter {
157157
};
158158

159159
if(process.env.HTTP_PROXY){
160-
options.httpAgent = new HttpsProxyAgent(process.env.HTTP_PROXY);
160+
options.httpsAgent = new HttpsProxyAgent(process.env.HTTP_PROXY);
161161

162162
} else if (process.env.HTTPS_PROXY){
163163
options.httpsAgent = new HttpsProxyAgent(process.env.HTTPS_PROXY);

bin/testObservability/helper/helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ const nodeRequest = (type, url, data, config) => {
134134
};
135135

136136
if(process.env.HTTP_PROXY){
137-
options.httpAgent = new HttpsProxyAgent(process.env.HTTP_PROXY);
137+
options.httpsAgent = new HttpsProxyAgent(process.env.HTTP_PROXY);
138138

139139
} else if (process.env.HTTPS_PROXY){
140140
options.httpsAgent = new HttpsProxyAgent(process.env.HTTPS_PROXY);

0 commit comments

Comments
 (0)