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

Only removes the authorization header when switching hostnames #334

Merged
merged 1 commit into from
Aug 5, 2019

Conversation

arcanis
Copy link
Member

@arcanis arcanis commented Aug 4, 2019

Followup to #329

This diff changes the logic that removes the Authorization header on redirects to instead only do this if the hostname changed. We maybe should find a way to update the mock server to add an endpoint with such a logic, although that would make it harder to use Verdaccio in the future 🤔

Can you confirm it works for your use case, @Js-Brecht?

@Js-Brecht
Copy link
Contributor

👍 Works well

@arcanis arcanis merged commit 25a2f00 into master Aug 5, 2019
@arcanis arcanis deleted the only-remove-auth-on-host-switch branch August 5, 2019 07:12
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