自从无法使用梯子访问github一直无法加载issues中的图片和头像,同个网络其他人访问还是比较正常的,通过网络搜索在host添加关联可以解决问题:
mac为例:
打开 /etc/hosts
添加如下内容
# GitHub Start
199.232.68.133 avatars0.githubusercontent.com
199.232.68.133 avatars1.githubusercontent.com
199.232.68.133 avatars2.githubusercontent.com
这里的ip地址需要通过https://www.ipaddress.com/获取最新的IP,如果还有其他无法访问到的图片,通过图片元素查询获取src在hosts中添加ip和域名的映射解决
网友评论