- 想用 github 查点资料,结果显示
无法访问此网站,如下图:
bug
在百度了很久的资料后,终于发现了一个好用的方法,分享下来一起用:
cmd到命令面板,输入如下代码:
"C:\Program Files\Google\Chrome\Application\chrome.exe" --host-rules="MAP github.com octocaptcha.com, MAP github.githubassets.com yelp.com, MAP *.githubusercontent.com githubusercontent.com" --host-resolver-rules="MAP octocaptcha.com 20.27.177.113, MAP yelp.com 199.232.240.116, MAP githubusercontent.com 199.232.176.133"

解决方法
再次去Chrome浏览器刷新网页,结果就出来了,如下图所示:

成功打开网页
