开发者

Getting Node.io to work through a proxy

I'm trying to use node.io (web scraping module) through a proxy. I know it has untested support for proxies built in, bu开发者_如何学Got I cannot get it to work. Does anyone know how to get it working?

Thanks,


You have to configure npm to make node to use a proxy server;

npm config set proxy http://proxy.company.com:8080
npm config set https-proxy http://proxy.company.com:8080'

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜