node-hue-api icon indicating copy to clipboard operation
node-hue-api copied to clipboard

Disable HTTP proxy

Open benbucksch opened this issue 4 years ago • 0 comments

Fixes #171

As shown in Bug #171, the HTTP proxy support is a) only completely broken, and b) makes no sense in this case. The proxy should not be used to contact a device on the local network. And the Hue bridge won't use a proxy to contact the Hue server, so neither should we, to be consistent.

This disables the proxy when making requests to the local bridge and the Hue server.

This fixes the code for me. Without this fix, everything simply fails when a proxy is configured for HTTPS.

benbucksch avatar May 22 '20 14:05 benbucksch