關鍵字眼:laravel
- static_upgrade_mode: FORCE_HTTPSgit
- You cannot visit www.xxx.dev right now because the website uses HSTS.github
- chrome 自動跳轉到httpsweb
也就是最近的事情,本地開發環境。升級chrome,全部本地域名訪問,都被強制跳轉到https。搞什麼鬼?chrome
查了不少資料,發現如下兩篇是比較有用的google
https://github.com/laravel/valet/issues/434開發
https://laravel-china.org/articles/6565/after-chrome-auto-upgrade-the-local-project-can-not-access?order_by=vote_count&域名
簡單來講,致使我遇到的問題以下it
1. 的確chrome會強制跳到https,經過清理也能夠解決static
2. 個人本地開發域名,後綴是dev,不管怎麼清理,都是強制跳到https的(google跟dev有仇?)
不使用chrome是不可能的了。因此最後的解決方案,只能是將本地的開發域名,改成local後綴