Skip to content

Commit

Permalink
update v2 branch with current changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ivwv committed Apr 14, 2024
1 parent b258a97 commit cb21af2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker_threads.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const { parentPort } = require("worker_threads");

const { HttpProxyAgent } = require("http-proxy-agent");
let httpsAgent = null;
if (process.env.HTTP_PROXY) {
if (process.env.HTTP_PROXY != null || process.env.HTTP_PROXY != undefined) {
httpsAgent = new HttpProxyAgent(process.env.HTTP_PROXY);
}
const axios = require("axios");
Expand Down

0 comments on commit cb21af2

Please sign in to comment.