HazAT / badge

Add a badge to your app icon
MIT License
966 stars 87 forks source link

Proxy? #40

Closed fuggly closed 7 years ago

fuggly commented 7 years ago

Hiyas

I'm kind new to this, so I apologize in advance if I ask a stupid question here, but to be able to use badge with --shield over a proxy, what would I need to do so that fetching from shield.io works over the proxy?

jamesdaniels commented 7 years ago

Now that badge is using curb, you can use the environment variables that curl will respect

HTTPS_PROXY [protocol://]<host>[:port]
[url-protocol]_PROXY [protocol://]<host>[:port]
ALL_PROXY [protocol://]<host>[:port]
NO_PROXY <comma-separated list of hosts>

via curl's manpage

jamesdaniels commented 7 years ago

This should satisfy the issue, @HazAT feel free to close.

HazAT commented 7 years ago

💯