How to configure a proxy server in cli polymer

Is there a way to configure a proxy server in polym-cli? similar to webpack-dev-server proxy. I checked any possible documentation without success

+6
source share
2 answers

to configure polymer-cli proxy on Linux, just set the environment variable:

if you use bash,

export http_proxy="http://[proxy_host]:[port]" export https_proxy=$http_proxy export HTTP_PROXY=$http_proxy export HTTPS_PROXY=$http_proxy 
0
source

The polymer uses the conversation. You can set the proxy for the gazebo, and it will work fine. create .bowerrc in your current project and add the following lines:

{ "directory": "bower_components", "proxy": "http://yourProxy:yourPort", "https-proxy":"http://yourProxy:yourPort", "no-proxy":"myserver.mydomain.com" }

0
source

All Articles