Skip to content

Commit 00d7c13

Browse files
committed
fix(amazonq): Re-enable experimental proxy support
1 parent 46766be commit 00d7c13

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/core/src/shared/utilities/proxyUtil.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,12 @@ export class ProxyUtil {
7070
* Sets environment variables based on proxy configuration
7171
*/
7272
private static async setProxyEnvironmentVariables(config: ProxyConfig): Promise<void> {
73+
// Always enable experimental proxy support for better handling of both explicit and transparent proxies
74+
process.env.EXPERIMENTAL_HTTP_PROXY_SUPPORT = 'true'
75+
76+
// Load built-in bundle and system OS trust store
77+
process.env.NODE_OPTIONS = '--use-system-ca'
78+
7379
const proxyUrl = config.proxyUrl
7480
// Set proxy environment variables
7581
if (proxyUrl) {

0 commit comments

Comments
 (0)