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

Prefer X-Forwarded-Host over Host for generated URLs #135

Merged
merged 1 commit into from
Jan 25, 2022

Conversation

jleedev
Copy link
Contributor

@jleedev jleedev commented Jan 25, 2022

The readme says that X-Forwarded-Host is used to set the host, but this wasn't actually the case. Fix this, and prefer it over Host so as to generate URLs that hit the CDN, for example.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.08%) to 6.667% when pulling 7958b4c on jleedev:fix-host into fae6d13 on consbio:main.

@brendan-ward brendan-ward merged commit 53e028b into consbio:main Jan 25, 2022
@brendan-ward
Copy link
Collaborator

Thanks @jleedev !

@jleedev jleedev deleted the fix-host branch January 25, 2022 17:02
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.

3 participants