开发过程中离不开github,可是打开很慢,怎么办?解决如下:

Windows10快速打开hosts文件在这个位置:

C:\WINDOWS\system32\drivers\etc
其它系统的hosts文件在这个位置:

/etc/hosts
修改后的hosts文件末尾加上了这几行:

140.82.113.4 github.com
199.232.69.194 github.global.ssl.fastly.net
185.199.108.153 assets-cdn.github.com
185.199.109.153 assets-cdn.github.com
185.199.110.153 assets-cdn.github.com
185.199.111.153 assets-cdn.github.com

 

相关文章:

  • 2021-10-01
  • 2021-09-15
  • 2022-12-23
  • 2021-09-28
  • 2022-01-06
  • 2021-11-19
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-22
  • 2021-05-30
  • 2022-12-23
  • 2022-12-23
  • 2021-04-21
相关资源
相似解决方案