lwsjs / local-web-server

A lean, modular web server for rapid full-stack development.
MIT License
1.23k stars 87 forks source link

rewriting to remote targets via a corporate HTTP proxy is currently down #128

Closed 75lb closed 5 years ago

75lb commented 5 years ago

There is currently an issue with rewriting requests to remote targets via a corporate HTTP proxy. So, if you have an http_proxy environment variable set specifying an HTTP proxy address, it will currently be ignored.

This issue was caused by the requirement to get a more urgent issue fixed ASAP.

cc: @S2-

75lb commented 5 years ago

Fixed and released in lws-rewrite v2.0.7 - it now uses the http(s)-proxy-agent module to connect to HTTP proxy servers, instead of the request module.