Skip to content

Commit e86c74e

Browse files
Revert "feat: add proxy endpoint support"
This reverts commit f3cc61e.
1 parent 31aa4af commit e86c74e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/utils/http-client.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import {getRandomLocalAddressHost} from "./local-address-provider";
22
import axios from "axios";
33
import * as http from "node:http";
44
import * as https from "node:https";
5-
import * as process from "node:process";
65

76
/**
87
* Maximum request timeout in milliseconds
@@ -32,7 +31,6 @@ export const httpClient = {
3231
'Accept-Language': 'en-US,en',
3332
'User-Agent': 'SRMojangAPI'
3433
},
35-
proxy: process.env.HTTP_PROXY ? JSON.parse(process.env.HTTP_PROXY) : false,
3634
httpAgent,
3735
httpsAgent,
3836
timeout: REQUEST_TIMEOUT_MS,

0 commit comments

Comments
 (0)