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: Use webpack host in content URL if specified and is valid IP address #351

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

peitschie
Copy link

If a host is specified, then the automatic address guess via prepareURL always returns undefined for the lanUrlForConfig.
This change allows the host to be embedded in the app if it is a valid IP address.
This allows overriding via config or CLI when automatic IP resolution fails.

This allows the issue seen in #161 to be addressed by passing --webpack.host=<MACHINE IP ADDRESS> to the command.

…ress

If a host is specified, then the automatic address guess via prepareURL always returns undefined for the lanUrlForConfig.
This change allows the host to be embedded in the app if it is a valid IP address.
This allows overriding via config or CLI when automatic IP resolution fails.
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.

1 participant