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

Invalid Host header #1

Open
dong-lufei opened this issue Aug 20, 2022 · 1 comment
Open

Invalid Host header #1

dong-lufei opened this issue Aug 20, 2022 · 1 comment

Comments

@dong-lufei
Copy link

我用gitpod.io进入你此项目,它自动安装依赖和打包。完后 我执行命令npm run serve出来链接http://localhost:8080/ 点击访问 变成 https://8080-liyupi-goodname-vrcgduej4rz.ws-us62.gitpod.io/ 显示Invalid Host header

@dong-lufei
Copy link
Author

找到原因了,是vuecli的webpack,造成内网穿透不对。重新配置webpack(devServer: { disableHostCheck: true })搞定

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

No branches or pull requests

1 participant