Closed souchi closed 4 years ago
The gatsby-plugin-webfonts uses axios to load the google fonts. You can deactivate the plugin and take care of the font yourself. See #16 and add:
<link href="https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap" rel="stylesheet"/>
Otherwise we have to enable the plugin to deal with proxies. A PR is welcome 😉
Thank you for the speedy reply.
This issue has been resolved thanks to you.
A PR is a little difficult for me.:sweat_smile:
I solved this issue in another way. I used global-agent.
https://github.com/gajus/global-agent
Thank you.
Apparently we unable to access a google webfonts via our authenticate proxy. An error occurs when running "npm run build". Is there a workaround?
After setting the HTTPS_PROXY environment variable as follows, occured the status code 503.
The "npm config list" is as follows.
I,m using OS:Windows10 Professional node:v12.14.1 npm:6.13.4
Thank you.