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

proxy mode: respect settings when started from cli #557

Merged
merged 1 commit into from
May 1, 2020

Conversation

micronn
Copy link
Contributor

@micronn micronn commented Mar 28, 2020

If you configure some proxy settings like enable_content_rewrite in config.yaml, when you run wayback --proxy mycollection it does not work.

This is because the entire proxy section is replaced by the extra config (custom_config) generated according to the command line arguments in cli.py.

This fix makes the section values to be replaced, but not the entire section. So the existing values won't be removed.

Another approach would be to add command line arguments for the rest of the available settings like --proxy-enable-content-rewrite, etc... I don't know which is preferred in this project.

@ikreymer ikreymer merged commit 871a05a into webrecorder:develop May 1, 2020
@ikreymer
Copy link
Member

ikreymer commented May 1, 2020

Thanks, this is reasonable workaround for now.

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.

2 participants