【问题解决方案】GitHub图片不显示的问题通过修改hosts解决

问题描述

  • GitHub中的图片无法显示了

解决

  • 找到hosts

    • 打开路径C:WindowsSystem32driversetc下的hosts文件
  • 添加如下内容到hosts文件

    • 注:如果无法修改,建议复制hosts文件到其他路径下修改,之后再复制到原路径下。
# GitHub Start
192.30.253.112 github.com
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

参考链接

END

原文地址:https://www.cnblogs.com/anliux/p/12785336.html