wttech / crex-sdk

Javascript SDK for Creative Exchange API
MIT License
10 stars 4 forks source link

Crex doesn't work behind proxy #4

Closed mcarneiro closed 6 years ago

mcarneiro commented 7 years ago

Maybe this would be the answer for crex not working behind a proxy: https://github.com/TooTallNate/superagent-proxy

I would consider using https_proxy and http_proxy env variables to match unix way of work. If I get time to fix it, I can make a PR on this one.

mateuszluczak commented 7 years ago

Hey @mcarneiro,

Thanks for posting this issue - superagent-proxy looks like solution. If you could create a PR with the fix it would be great, if not I may have some time end of this week or early next week to fix it.

Cheers

mcarneiro commented 6 years ago

Hey @mateuszluczak, created this PR with a quick fix for proxy: https://github.com/Cognifide/crex-sdk/pull/5

mateuszluczak commented 6 years ago

Released in 1.5.0