新增 ChatGPT 代理规则
将原有的针对 openai.com 和 chatgpt.com 的直接代理规则替换为使用新增的 chatgpt 规则集。这样可以更灵活地管理与 ChatGPT 相关的代理规则,并简化 rules 部分的维护。
This commit is contained in:
@@ -173,11 +173,18 @@ rule-providers:
|
||||
url: "http://git.yulei.icu/yulei/openclash-rule/raw/dev/user-defined-rule/custom_direct.yaml"
|
||||
path: ./profiles/rules/custom_direct.yaml
|
||||
interval: 21600
|
||||
|
||||
chatgpt:
|
||||
type: http
|
||||
behavior: domain
|
||||
url: "http://git.yulei.icu/yulei/openclash-rule/raw/dev/user-defined-rule/chatgpt.yaml"
|
||||
path: ./profiles/rules/chatgpt.yaml
|
||||
interval: 21600
|
||||
|
||||
|
||||
rules:
|
||||
- DOMAIN-SUFFIX,openai.com,openai-PROXY
|
||||
- DOMAIN-SUFFIX,chatgpt.com,openai-PROXY
|
||||
|
||||
- RULE-SET,chatgpt,openai-PROXY
|
||||
|
||||
- RULE-SET,custom_proxy,PROXY
|
||||
- RULE-SET,custom_direct,DIRECT
|
||||
- RULE-SET,applications,DIRECT
|
||||
|
||||
Reference in New Issue
Block a user