1、写在前面
国内访问gitgub确实慢,有一个开源框架貌似可以解决这个问题,让你“爱”上 GitHub,解决访问时图裂、加载慢的问题。
1)hellogithub地址:https://hellogithub.com
2)github项目地址:https://github.com/521xueweihan/GitHub520
2、核心操作
- 配置host文件
- 刷新DNS
3、操作记录
3.1、配置host文件[上面内容会自动定时更新,保证最新有效。数据更新时间:2020-06-18T20:11:11+08:00(内容无变动不会更新)]
# GitHub520 Host Start
185.199.108.154 github.githubassets.com
199.232.68.133 camo.githubusercontent.com
199.232.68.133 github.map.fastly.net
199.232.69.194 github.global.ssl.fastly.net
140.82.114.4 github.com
140.82.114.5 api.github.com
199.232.68.133 raw.githubusercontent.com
199.232.68.133 user-images.githubusercontent.com
199.232.68.133 favicons.githubusercontent.com
199.232.68.133 avatars5.githubusercontent.com
199.232.68.133 avatars4.githubusercontent.com
199.232.68.133 avatars3.githubusercontent.com
199.232.68.133 avatars2.githubusercontent.com
199.232.68.133 avatars1.githubusercontent.com
199.232.68.133 avatars0.githubusercontent.com
# Star me GitHub url: https://github.com/521xueweihan/GitHub520
# GitHub520 Host End
3.2、刷新DNS
Windows:在 CMD 窗口输入:ipconfig /flushdns