-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
vite 开启https后 在移动端浏览器 页面会一直刷新 #6911
Labels
duplicate
This issue or pull request already exists
Comments
试一下加个配置 |
加了之后可以了 但是 加了之后 pc端就会一直刷新,不过频率没有那么快 |
pc端时就注释掉这段配置 |
刚才发现 配置之后,ios还是会刷新,只不过会等久一点 大概间隔1,2分钟会刷新一次 |
Duplicate of #2337. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
vite 开启https后 在ios14.7.1浏览器打开 页面会一直刷新
重现步骤:
yarn create vite
yarn install
vite.config.js 添加server:{https:true} 开启https
yarn dev --host
在手机浏览器打开项目地址
VIDEO_20220214_173429651.mp4
Reproduction
这个问题不好在线重现 建议用yarn直接新建一个项目来复现
System Info
Used Package Manager
yarn
Logs
Validations
The text was updated successfully, but these errors were encountered: