wkiwi的博客

解决github图片无法显示

发布时间:5年前热度: 1547 ℃评论数:

1.Mac终端输入

sudo vi /etc/hosts

2.输入密码后,点击 i键,进入Insert模式,将下面内容拷贝进去

# GitHub Start
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
 # GitHub End
WX20200527-173523@2x.png

3.点击esc 键,然后输入:wq 保存退出即可。


图片

手机扫码访问