File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed
Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 2929
3030- 指 ` User Agent ` ,是HTTP请求标头中的一个字段。用于服务端判断客户端类型,从而做出不同的响应。
3131- 你的订阅服务商通过请求头中的` UA ` 字段判断你所使用的代理工具,从而下发不同的配置文件。
32-
33- 如何下载配置文件
32+
33+ 如何验证订阅是否正确?
3434
3535** Windows Powershell**
36+
3637``` PowerShell
37- # 下载到当前目录的config.yaml
38- # 末尾是订阅链接
39- iwr -UserAgent clash-verge/v2.0.4 -outfile config.yaml https://example.com
38+ # 第一行粘贴订阅链接
39+ $sub='在单引号内粘贴订阅链接,input subscription link'
40+ # 第二行执行HTTP请求
41+ Invoke-RestMethod -UserAgent 'clash-verge/v2.4.0' -Method get -FollowRelLink -uri $sub
4042```
4143
4244** Curl**
4345
4446``` shell
45- curl -A clash-verge/v2.0.4 -o config.yaml https://example.com
47+ curl -A clash-verge/v2.4.0 ‘引号内粘贴订阅链接’
4648```
4749
50+ 若以上命令返回响应正常的以YAML格式的mihomo配置文件即验证正确。
51+
4852## Meta 内核
4953
5054- 一般指[ Clash Meta] ( https://github.com/MetaCubeX/mihomo/releases/latest ) ,也称 ` Meta ` 、 ` Mihomo ` 内核。区别于 ` Clash Premium ` 为闭源内核,` Mihomo ` 为开源内核。
You can’t perform that action at this time.
0 commit comments