code-server-2/test
Asher 003480881b
fix: infinite proxy loop (#4676)
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.
2022-01-03 18:19:21 -06:00
..
e2e Implement last opened functionality (#4633) 2021-12-17 13:06:52 -06:00
scripts feat(brew-bump): add check for cleanup step 2021-09-28 16:07:01 -07:00
unit fix: infinite proxy loop (#4676) 2022-01-03 18:19:21 -06:00
utils Implement last opened functionality (#4633) 2021-12-17 13:06:52 -06:00
package.json chore(deps): upgrade json-schema version to 0.4.0 (#4543) 2021-11-22 19:36:04 +00:00
playwright.config.ts Implement last opened functionality (#4633) 2021-12-17 13:06:52 -06:00
tsconfig.json refactor: move jest around and add code coverage 2021-01-22 14:18:45 -07:00
yarn.lock chore(deps): upgrade json-schema version to 0.4.0 (#4543) 2021-11-22 19:36:04 +00:00