mirror of
https://github.com/MatsuriDayo/NekoBoxForAndroid.git
synced 2025-12-20 07:00:05 +08:00
修复“域名规则默认使用 domain_suffix” (#848)
This commit is contained in:
parent
5a191fdc94
commit
8590d9284a
@ -130,8 +130,7 @@ fun SingBoxOptions.Rule_DefaultOptions.makeSingBoxRule(list: List<String>, isIP:
|
||||
} else if (it.startsWith("keyword:")) {
|
||||
domain_keyword.plusAssign(it.removePrefix("keyword:").lowercase())
|
||||
} else {
|
||||
// https://github.com/SagerNet/sing-box/commit/5d41e328d4a9f7549dd27f11b4ccc43710a73664
|
||||
domain.plusAssign(it.lowercase())
|
||||
domain_suffix.plusAssign(it.lowercase())
|
||||
}
|
||||
}
|
||||
ip_cidr?.removeIf { it.isNullOrBlank() }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user