Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global proxy setting? #22

Open
therebelrobot opened this issue Sep 30, 2014 · 3 comments
Open

Global proxy setting? #22

therebelrobot opened this issue Sep 30, 2014 · 3 comments

Comments

@therebelrobot
Copy link

Hi! Love your library, using it all over the place. I had a quick Q though:

I use Charles as a local request inspector, which I end up routing in your library using .proxy('http://localhost:8888').strictSSL(false) , but I was wondering if there is a way to set this globally, and perhaps conditionally based off the environment variable? I'm finding I'm using it on a lot of my requests, and am needing to go and clean them all out when I push my code back up to production.

Lemme know :) Thank again for such a great library!

@nijikokun
Copy link
Contributor

Thank you for the kind words!

I started implementing this functionality for a few options, not all of them. I'll have to test it further to ensure nothing breaks, but I'll ping you when it's done. 👍

@therebelrobot
Copy link
Author

Any progress on this?

@nijikokun
Copy link
Contributor

Please see #41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants