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

fix: Capture assets using the same hostname, regardless of port #535

Merged
merged 1 commit into from
Jul 17, 2020

Conversation

Robdel12
Copy link
Contributor

What is this?

Currently, if someone is serving their app from localhost:3001 and then serves their assets from localhost:3002, we will skip the assets coming from localhost:3002. This is because we're taking the port into account for asset discovery right now.

This change removes the port from consideration and captures all assets based on the hostname rather than host.

Currently, if someone is serving their app from `localhost:3001` and then
serves their assets from `localhost:3002`, we will skip the assets coming from
`localhost:3002`. This is because we're taking the port into account for asset
discovery right now.

This change removes the port from consideration and captures all assets based on
the `hostname` rather than `host`.
@Robdel12 Robdel12 requested a review from wwilsman July 17, 2020 18:23
Copy link
Contributor

@wwilsman wwilsman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎮

@Robdel12 Robdel12 merged commit d490fa9 into master Jul 17, 2020
@delete-merged-branch delete-merged-branch bot deleted the rd/localhost-hostname branch July 17, 2020 18:35
djones pushed a commit that referenced this pull request Jul 17, 2020
## [0.27.1](v0.27.0...v0.27.1) (2020-07-17)

### Bug Fixes

* Capture assets using the same hostname, regardless of port ([#535](#535)) ([d490fa9](d490fa9))
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