proxy-chain
proxy-chain copied to clipboard
Readme: fix example for anonymizeProxy
The previous example doesn't set the port and the code fallback to the DEFAULT_PROXY_SERVER_PORT no random port in this configuration.
Another patch is possible port: 0
but is less explicit.
const newProxyUrl = await proxyChain.anonymizeProxy({ url: oldProxyUrl, port: 0 });