Skip to content

Commit 53ddc0d

Browse files
committed
fix: 更新Clash订阅配置文件热补丁,优化域名和IPCIDR配置以支持更灵活的规则
1 parent ae07753 commit 53ddc0d

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

_worker.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -803,11 +803,15 @@ function Clash订阅配置文件热补丁(Clash_原始订阅内容, uuid = null,
803803
- 208.67.220.220
804804
fallback-filter:
805805
geoip: true
806-
domain: [+.google.com, +.facebook.com, +.youtube.com]
806+
geoip-code: CN
807807
ipcidr:
808808
- 240.0.0.0/4
809+
- 127.0.0.1/32
809810
- 0.0.0.0/32
810-
geoip-code: CN
811+
domain:
812+
- '+.google.com'
813+
- '+.facebook.com'
814+
- '+.youtube.com'
811815
`;
812816

813817
// 检查是否存在 dns: 字段(可能在任意行,行首无缩进)

0 commit comments

Comments
 (0)