proxy-chain icon indicating copy to clipboard operation
proxy-chain copied to clipboard

Readme: fix example for anonymizeProxy

Open sviande opened this issue 2 years ago • 0 comments

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 });

sviande avatar Jul 29 '22 15:07 sviande