What should I do if pictures such as Github avatars cannot be loaded? One trick to help you solve it!

  I haven't visited github for a long time. I waited for it today and found some changes. The avatar image and some other issue images could not be loaded. Originally, github is not stable, but it is still coming out now. The tragic situation is shown in the following figure:
Insert picture description here
  However, when you open the developer tools of the browser, you can still see some problems: the
Insert picture description here
  solution is to add relevant hosts:

sudo vim /etc/hosts

#添加以下内容
#github start
199.232.68.133 avatars0.githubusercontent.com
199.232.68.133 avatars1.githubusercontent.com
199.232.68.133 avatars2.githubusercontent.com

  After adding, reload the interface: the
Insert picture description here
  image can be loaded normally! Note that I am using ubuntu, and the same is true for windows.

Reference appendix:
Github issues picture and avatar loading failure solution

Guess you like

Origin blog.csdn.net/qq_33475105/article/details/112002919