-
Notifications
You must be signed in to change notification settings - Fork 287
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
proxy for isomorphic-fetch #171
Comments
I think you can't use proxy with client implementation. But for server version: import fetch from 'isomorphic-fetch';
import proxyAgent from 'http-proxy-agent';
//import proxyAgent from 'https-proxy-agent'; // HTTPS
const options = {
method: 'GET',
agent: new proxyAgent('http://proxy:8080'),
body: JSON.stringify(data)
};
fetch(url, options) |
did agent and http-proxy-agent solve it? can this be closed now? |
It did solve for me.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prompt how to use isomorphic-fetch together with a proxy?
The text was updated successfully, but these errors were encountered: