Skip to content

Commit

Permalink
feat: switchhost增加github520
Browse files Browse the repository at this point in the history
  • Loading branch information
MuYi086 committed Jul 4, 2024
1 parent 43eb7ef commit e494e4d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Docs/Articles/Windows/自用host.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tags:

## 查找最快ip
可以使用 [站长之家的ping检测](https://ping.chinaz.com/github.com) , 选择其他,找到国外最快 `ip` .然后选择电信,联通,移动,找到国内能访问的最快 `ip`作为替补
## 常用网站host
## 常用网站
```shell
127.0.0.1 localhost

Expand Down Expand Up @@ -92,6 +92,15 @@ tags:
104.19.191.106 packages.openvpn.net
```

## Github520
`SwitchHosts` 新建 => 远程 => 填写 `https://raw.hellogithub.com/hosts`

![Github520](/Images/Windows/自用host/switch-hosts.png "Github520")


## 常见问题
1. `switchhosts` 增加了场景未生效, `ping` 显示的 `ip` 还是原来的?
答: 可能是 `switchhosts` 未能写入成功, 可以先去 `etc`目录查看是否有`hosts` 文件,如果没有,需要手动创建一个,然后再启动 `switchhosts`

## 参考
1. [Github520](https://github.com/521xueweihan/GitHub520)
Binary file added Docs/Images/Windows/自用host/switch-hosts.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e494e4d

Please sign in to comment.