Skip to content

Commit 9446e0a

Browse files
committed
Add HTTP_PROXY aliases
1 parent a7f2856 commit 9446e0a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/constants.mts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,9 @@ const LAZY_ENV = () => {
337337
// Commonly used environment variables to specify routing requests through
338338
// a proxy server.
339339
envAsString(env['HTTPS_PROXY']) ||
340-
envAsString(env['https_proxy']),
340+
envAsString(env['https_proxy']) ||
341+
envAsString(env['HTTP_PROXY']) ||
342+
envAsString(env['http_proxy']),
341343
// Flag to set the API token.
342344
// https://github.com/SocketDev/socket-cli?tab=readme-ov-file#environment-variables
343345
SOCKET_CLI_API_TOKEN:

0 commit comments

Comments
 (0)