Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Fix example for anonymizeProxy #273

Merged
merged 1 commit into from
Feb 13, 2023

Conversation

sviande
Copy link
Contributor

@sviande sviande commented Jul 29, 2022

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

the previous example doesn't set the port and the code fallback to the
DEFAULT_PROXY_SERVER_PORT no random port in this configuration.
@jirimoravcik jirimoravcik changed the title Readme: fix example for anonymizeProxy docs: Fix example for anonymizeProxy Feb 13, 2023
@jirimoravcik jirimoravcik merged commit 6dd430c into apify:master Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants