解决GitHub上图片不显示问题

有的时候上GitHub上寻找插件 但是图片一直就是刷新失败样式
版本号也看不到 效果图也看不到,你是不是也经常遇到这样的情况,虽然是个小问题但是也弄得很烦躁 影响工作效率

解决方法它来了:

首先需要找到你的HOSTS文件:

Windows用户:C:\Windows\System32\drivers\etc\HOSTS

Mac用户:/etc/hosts

用编辑器(记事本也是阔以的),在末尾添加以下内容:

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
这时候返回你的GitHub当前页上刷新即可,图片出来了 问题完美解决!

猜你喜欢

转载自blog.csdn.net/qq_42362997/article/details/111313724