GitHub 圖片加載不出來怎麼辦

打開 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 教程目錄

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章