We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31aa4af commit e86c74eCopy full SHA for e86c74e
src/utils/http-client.ts
@@ -2,7 +2,6 @@ import {getRandomLocalAddressHost} from "./local-address-provider";
2
import axios from "axios";
3
import * as http from "node:http";
4
import * as https from "node:https";
5
-import * as process from "node:process";
6
7
/**
8
* Maximum request timeout in milliseconds
@@ -32,7 +31,6 @@ export const httpClient = {
32
31
'Accept-Language': 'en-US,en',
33
'User-Agent': 'SRMojangAPI'
34
},
35
- proxy: process.env.HTTP_PROXY ? JSON.parse(process.env.HTTP_PROXY) : false,
36
httpAgent,
37
httpsAgent,
38
timeout: REQUEST_TIMEOUT_MS,
0 commit comments