Skip to content

Commit 0ea68a9

Browse files
committed
chore: disable axios native proxy
1 parent 41d5294 commit 0ea68a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/helpers/helper.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,7 @@ exports.truncateString = (field, truncateSizeInBytes) => {
441441
exports.setAxiosProxy = (axiosConfig) => {
442442
if (process.env.HTTP_PROXY || process.env.HTTPS_PROXY) {
443443
const httpProxy = process.env.HTTP_PROXY || process.env.HTTPS_PROXY
444+
axiosConfig.proxy = false;
444445
axiosConfig.httpsAgent = new HttpsProxyAgent(httpProxy);
445446
};
446447
};

0 commit comments

Comments
 (0)