jeansaad / chalet

🏩 A simple process manager for developers. Start apps from your browser and access them using local domains
MIT License
156 stars 19 forks source link

Fixing http-proxy error handling to not crash on error #7

Closed james-zinger closed 4 years ago

james-zinger commented 4 years ago

Fixing an error whereby if http-proxy doesn't have at least 1 error listener the proxy will crash on error.

https://github.com/http-party/node-http-proxy/blob/9b96cd725127a024dabebec6c7ea8c807272223d/lib/http-proxy/index.js#L119