Move service rules before advertising rules

Reordered the call to generateServiceRules(services) to place service rules before advertising-related rules in the rules array. This may affect rule matching priority and processing.
This commit is contained in:
xixu-me committed 2025-10-13 13:37:10 +08:00
1 parent b604225b2b
commit a97f61a3ad
1 file changed
+1 -1
+1 -1
View File
@@ -505,9 +505,9 @@ const rules = [
"RULE-SET,applications,DIRECT",
"RULE-SET,lancidr,DIRECT,no-resolve",
"RULE-SET,private,DIRECT",
...generateServiceRules(services),
"RULE-SET,reject,Advertising",
"RULE-SET,win-spy,Advertising",
...generateServiceRules(services),
"RULE-SET,direct,Mainland China 🇨🇳",
"RULE-SET,proxy,PROXY",
"RULE-SET,telegramcidr,Telegram",