zoukankan      html  css  js  c++  java
  • 解决github中图片不显示的问题

    背景

    今天在github上查阅资料,发现页面的图片不显示,原以为是原作者项目里图片上传除了问题,但后来发现所有的项目里图片都显示不出来。

    效果演示


    解决方法

    修改本地的hosts文件
    打开路径 C:WindowsSystem32driversetchosts(windows10系统可能为C:WindowsSystem32driversetcHOSTS)

    用记事本打开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    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
    # GitHub End
    


    问题完美解决。

  • 相关阅读:
    求正方形的面积和周长
    面向对象练习——校园管理系统
    python--面向对象(最全讲解)
    git删除远程仓库的文件或目录
    git设置忽略文件和目录
    计算器
    织梦标签整理
    比较恶心的360老年版浏览器 文件导出下载
    织梦文章列表样式多元化实现
    php函数整理
  • 原文地址:https://www.cnblogs.com/xiaozhengtongxue/p/13442763.html
Copyright © 2011-2022 走看看