github是开发者常用的工具,gihub使用时不小心删除会导致图片打不开,可以用以下方法解决:
1.复制打不开的图片地址
2,把图片地址粘贴到 https://www.ipaddress.com/ 里获取ip 假如你获取的ip:199.232.28.133
3,在Findle 中 前往 /private/etc/ 找到hosts文件
4,备份一个hosts文件并打开,增加一行:199.232.28.133 raw.githubusercontent.com 保存
5,将修改的hosts复制回/private/etc/,替换掉原来的就好了。
/*
192.30.253.112 github.com
192.30.253.119 gist.github.com
199.232.28.133 assets-cdn.github.com
199.232.28.133 raw.githubusercontent.com
199.232.28.133 gist.githubusercontent.com
199.232.28.133 cloud.githubusercontent.com
199.232.28.133 camo.githubusercontent.com
199.232.28.133 avatars0.githubusercontent.com
199.232.28.133 avatars1.githubusercontent.com
199.232.28.133 avatars2.githubusercontent.com
199.232.28.133 avatars3.githubusercontent.com
199.232.28.133 avatars4.githubusercontent.com
199.232.28.133 avatars5.githubusercontent.com
199.232.28.133 avatars6.githubusercontent.com
199.232.28.133 avatars7.githubusercontent.com
199.232.28.133 avatars8.githubusercontent.com
*/