Open maomao1996 opened 3 years ago
raw.githubusercontent.com
快捷搜索 raw.githubusercontent.com IP 地址
各系统 hosts 文件路径如下
hosts
C:\Windows\System32\drivers\etc\hosts
/etc/hosts
/system/etc/hosts
199.232.96.133 assets-cdn.github.com 199.232.96.133 raw.githubusercontent.com 199.232.96.133 gist.githubusercontent.com 199.232.96.133 camo.githubusercontent.com 199.232.96.133 cloud.githubusercontent.com 199.232.96.133 user-images.githubusercontent.com 199.232.96.133 avatars.githubusercontent.com 199.232.96.133 avatars0.githubusercontent.com 199.232.96.133 avatars1.githubusercontent.com 199.232.96.133 avatars2.githubusercontent.com 199.232.96.133 avatars3.githubusercontent.com 199.232.96.133 avatars4.githubusercontent.com
199.232.96.133 为之前获取到的 IP 地址
199.232.96.133
推荐使用 Hosts 管理工具(SwitchHosts)修改
SwitchHosts | GitHub
https://gitlab.com/ineo6/hosts/-/raw/master/hosts
https://raw.hellogithub.com/hosts
macOS
sudo killall -HUP mDNSResponder
Windows
ipconfig /flushdns
修改 DNS 解决 Github 图片资源加载失败
获取 IP 地址
raw.githubusercontent.com
(控制台资源报错的域名)快捷搜索 raw.githubusercontent.com IP 地址
修改本地 Hosts 文件
各系统
hosts
文件路径如下C:\Windows\System32\drivers\etc\hosts
/etc/hosts
/etc/hosts
/system/etc/hosts
/etc/hosts
199.232.96.133
为之前获取到的 IP 地址推荐使用 Hosts 管理工具(SwitchHosts)修改
SwitchHosts
SwitchHosts | GitHub
在 SwitchHosts 中使用远程配置文件
https://gitlab.com/ineo6/hosts/-/raw/master/hosts
https://raw.hellogithub.com/hosts
刷新本地 DNS 缓存
macOS
Windows