美文网首页
Mac无法访问Github/Github图片不显示问题解决

Mac无法访问Github/Github图片不显示问题解决

作者: Vincent7Wong | 来源:发表于2020-06-11 11:50 被阅读0次

前言

访问Github发现图片无法访问、电脑的Github无法访问

解决问题

打开https://www.ipaddress.com/输入对应的网址

  • Github无法访问则输入Github的地址


    image.png
image.png
  • Github图片不显示则先点开图片、获取图片的地址


    image.png

解析 raw.githubusercontent.com


image.png

修改hosts

1、在访达中前往文件夹,输入/private/etc/hosts


image.png

2、修改hosts(需要复制修改后、替换源文件)


image.png

140.82.112.3 github.com
199.232.68.133 raw.githubusercontent.com

注:是raw.githubusercontent.com 不是githubusercontent.com

搞定!!!!


image.png

相关文章

网友评论

      本文标题:Mac无法访问Github/Github图片不显示问题解决

      本文链接:https://www.haomeiwen.com/subject/intbtktx.html