From b118fa1204da78469ee465efff8f925d7c87e0ca Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Fri, 9 May 2025 01:16:32 -0700 Subject: [PATCH] Update http.js --- src/utils/proxy/http.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/proxy/http.js b/src/utils/proxy/http.js index 1feaf5780..d2b683e78 100644 --- a/src/utils/proxy/http.js +++ b/src/utils/proxy/http.js @@ -110,7 +110,7 @@ export async function cachedRequest(url, duration = 5, ua = "homepage") { export async function httpProxy(url, params = {}) { const constructedUrl = new URL(url); - const proxyUrl = process.env.HOMEPAGE_HTTP_PROX; // e.g. http://proxy.local:3128 + const proxyUrl = process.env.HOMEPAGE_HTTP_PROXY; // e.g. http://proxy.local:3128 const disableIpv6 = process.env.HOMEPAGE_PROXY_DISABLE_IPV6 === "true"; const agentOptions = disableIpv6 ? { family: 4, autoSelectFamily: false } : {};