GitHub 图片加载不出来怎么办

打开 GitHub 发现图片加载不出来,参考网上改 hosts 文件,亲测有效

打开路径 C:\Windows\System32\drivers\etc 下的 hosts 文件

GitHub 图片加载不出来怎么办_第1张图片
添加下面的语句

# 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 Build software better, together
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 Build software better, together

如图,保存
GitHub 图片加载不出来怎么办_第2张图片
刷新 github 页面,图片就加载出来了!

返回:GitHub 教程目录

你可能感兴趣的:(GitHub,那些事儿)