linux下chrome无法完全显示github内容

突然发现linux下的chorme不能正常访问github了,只能显示简单的某些信息,找了各路的解决办法,现分享一下:

一般是需要修改hosts下的ip内容,sudo gedit/etc/hosts/打开后在最后添加
185.31.16.184    github.global.ssl.fastly.net
140.82.112.3 github.com

域名可能会因为机器不同而有所不同,可访问https://www.ipaddress.com/ip-lookup 自行查询。

(此处借鉴了一篇博客:https://ethanli.blog.csdn.net/article/details/106870924?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.edu_weight&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.edu_weight)

然后就可以正常打开啦

 

你可能感兴趣的:(linux下chrome无法完全显示github内容)