003480881b
I think the problem is that when a proxy is not in use proxy-agent returns the global agent...which is itself since we set it globally, causing the loop. VS Code already covers proxies meaning we only need to do it in our own requests so to fix this pass in the agent in the version fetch request instead of overidding globally. Also avoid proxy-from-env and pass in the proxy URI instead as both http_proxy and https_proxy can be used for either http or https requests but it does not allow that. |
||
---|---|---|
.. | ||
routes | ||
app.ts | ||
cli.ts | ||
coder_cloud.ts | ||
constants.ts | ||
entry.ts | ||
heart.ts | ||
http.ts | ||
main.ts | ||
plugin.ts | ||
proxy.ts | ||
settings.ts | ||
socket.ts | ||
update.ts | ||
util.ts | ||
wrapper.ts | ||
wsRouter.ts |