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图片无法展示问题 #72

Open
aermin opened this issue Feb 17, 2020 · 2 comments
Open

修复github图片无法展示问题 #72

aermin opened this issue Feb 17, 2020 · 2 comments
Labels

Comments

@aermin
Copy link
Owner

aermin commented Feb 17, 2020

最近发现github相关的图片资源在不全局fq的情况下都加载不出来了,此文记录解决方法

方法一:自己动手

将无法加载的url放到这个网站搜,得到Server IP

image

然后把 IP 与 域名
151.101.208.133 user-images.githubusercontent.com
填加进电脑的host文件

解决其他不同域名且图片无法加载的github url同理

方法二:懒人一把梭

直接把这些都拷贝到host文件即可

# 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
151.101.208.133    user-images.githubusercontent.com
 # GitHub End

Reference

参考这篇文章,貌似现在被作者删了,因此作此文以便后面遇到这个问题的人

@aermin aermin added the 随笔 label Feb 17, 2020
@dianxiaoerk
Copy link

现在用的什么评论插件?

@aermin
Copy link
Owner Author

aermin commented May 9, 2020

现在用的什么评论插件?

???

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

2 participants