Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub 图片加载不出来怎么办 #6

Open
CatOneTwo opened this issue Jun 12, 2020 · 1 comment
Open

GitHub 图片加载不出来怎么办 #6

CatOneTwo opened this issue Jun 12, 2020 · 1 comment
Labels
修复 修复系列

Comments

@CatOneTwo
Copy link
Owner

CatOneTwo commented Jun 12, 2020

打开 GitHub 发现图片加载不出来,参考网上改 hosts 文件,亲测有效

打开路径 C:\Windows\System32\drivers\etc 下的 hosts 文件(可以右击以管理员身份打开)

添加下面的语句

# GitHub Start 
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 Build software better, together
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 Build software better, together

如图,保存

刷新github页面,图片就加载出来了!

注意👀:如果保存不了页面,可以试试右击文件,打开属性改变文件权限


返回目录:GitHub 入门教程

@CatOneTwo CatOneTwo added the 修复 修复系列 label Jun 12, 2020
@ghost
Copy link

ghost commented Jul 20, 2024

works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
修复 修复系列
Projects
None yet
Development

No branches or pull requests

1 participant