You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 13, 2024. It is now read-only.
Axios works with http proxies, but this library doesn't expose a way to configure the http proxy setting, at least as far as I can tell. I can make this work by doing the following:
// hackily import axios out of the analytics-node moduleimportanalyticsAxiosfrom'analytics-node/node_modules/axios';analyticsAxios.defaults.proxy={host: 'x.x.x.x',port: 1234,};
Axios before 0.19.0 has a bug with https proxies, so I needed to upgrade the version of axios used by analytics-node to 0.19.0, since the currently published version is not on 0.19.0 yet.