googlecodelabs / your-first-pwapp

Code associated with Your First Progressive Web App codelab
https://g.co/codelabs/pwa
Apache License 2.0
638 stars 555 forks source link

Proxy issue #184

Open geminixandroid opened 5 years ago

geminixandroid commented 5 years ago

fix proxy issue with var HttpsProxyAgent = require('https-proxy-agent'); ... fetch(url,{ agent:new HttpsProxyAgent('http://proxy_address:port')}).then((resp) => {

petele commented 5 years ago

We're not using https-proxy-agent anywhere in the code, not sure what you mean by this.

geminixandroid commented 5 years ago

it's example for those, who work behind proxy with this Application. Need to add some config property for this.

Sylgrid commented 5 years ago

I had the same problem, working behind a firm proxy. It saved my time, thank you @geminixandroid .