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

Adding disableHostCheck default value #1373

Merged
merged 1 commit into from
May 29, 2018
Merged

Adding disableHostCheck default value #1373

merged 1 commit into from
May 29, 2018

Conversation

centerorbit
Copy link
Contributor

adding default for disableHostCheck since there isn't any documentation around this specific feature for vue-cli (I found a react-webpack config StackOverflow answer that worked)

@yyx990803
Copy link
Member

yyx990803 commented May 29, 2018

Please turn on this option yourself as leaving it on by default is a security vulnerability: webpack/webpack-dev-server#887

@yyx990803 yyx990803 closed this May 29, 2018
@centerorbit
Copy link
Contributor Author

I had the option default to false, which is the correct default (the secure way). I simply added it to this documentation so that people would know it's there, and could change it if wanted. Please reconsider the PR

@yyx990803 yyx990803 reopened this May 29, 2018
@yyx990803 yyx990803 merged commit d81dc69 into vuejs:dev May 29, 2018
@centerorbit
Copy link
Contributor Author

Thank you!

@centerorbit centerorbit deleted the add-hostCheck-default branch May 29, 2018 14:01
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