Skip to content
This repository has been archived by the owner on May 10, 2021. It is now read-only.

Copy host property from headers to multiValueHeaders #44

Merged
merged 2 commits into from
Oct 1, 2020

Conversation

lindsaylevine
Copy link
Contributor

extends/fixes conflict in #42


Hi everyone, looking for a solution to to resolve #40 I did my fork, and case this is acceptable in the project, I will let my PR 😄

This PR takes the host property from event.headers and copy to host in event.multiValueHeaders.
I'm opening this PR just in case you think this a good way to solve this problem.

PS: If you think that has another way, just give the suggest and I will take a look and implement.
PS: I don't know if this change specifically needs some test, if need, what exactly I can test.

@abdelhamid-attaby
Copy link

Thanks @lindsaylevine for this merge. When this should be released?

lindsaylevine added a commit that referenced this pull request Oct 1, 2020
- Copy host property from headers to multiValueHeaders [#44](#44)
- More support for ISR (getStaticProps with revalidate) [Discussion](https://github.com/netlify/next-on-netlify/issues/35) / [Commit](ef45cc5)
- Fixed redirect for index with getServerSideProps [#39](#39)
@abdelhamid-attaby
Copy link

@lindsaylevine please check #46

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

req.headers.host is undefined on netlify deployment
3 participants