知乎大神解决方法链接:https://zhuanlan.zhihu.com/p/107196957
打开github的时候,发现大部分图片变成了这个亚子
虽然图片不怎么重要,看它显示不出来也挺难受的。找了一圈,说是得找到图片的ip,然后建立host映射,我也没怎么看懂,下面是解决方法。
1.找到C:\Windows\System32\drivers\etc目录下host文件
2.复制到桌面上,可用记事本打开,在最后面加上下面一段映射。
# GitHub Start
192.30.253.112 Build software better, together
192.30.253.119 gist.github.com
151.101.184.133 assets-cdn.github.com
151.101.184.133 raw.githubusercontent.com
151.101.184.133 gist.githubusercontent.com
151.101.184.133 cloud.githubusercontent.com
151.101.184.133 camo.githubusercontent.com
151.101.184.133 avatars0.githubusercontent.com
151.101.184.133 avatars1.githubusercontent.com
151.101.184.133 avatars2.githubusercontent.com
151.101.184.133 avatars3.githubusercontent.com
151.101.184.133 avatars4.githubusercontent.com
151.101.184.133 avatars5.githubusercontent.com
151.101.184.133 avatars6.githubusercontent.com
151.101.184.133 avatars7.githubusercontent.com
151.101.184.133 avatars8.githubusercontent.com
# GitHub End
3.保存后拖回原位置
4.再次打开GitHub,发现世界美美哒~