Open ralyodio opened 3 months ago
in node.js you can do it with this:
import { HttpProxyAgent } from 'http-proxy-agent'; import fetch from 'node-fetch'; const proxyUrl = env.PROXY_URL; const proxyAgent = new HttpProxyAgent(proxyUrl); ... options.agent = proxyAgent; await fetch(url, options);
in node.js you can do it with this: