Add 'Domestic' proxy group and update related rules
Introduces a new 'Domestic' proxy group with relevant proxies and icon. Updates rules to use 'Domestic' instead of 'Chinese Mainland 🇨🇳' for direct and cncider rules, improving clarity and maintainability.
This commit is contained in:
1 parent
8aee784d7f
commit
b48ab05e58
1 file changed
+15
-2
@@ -431,6 +431,19 @@ const proxyGroups = [
|
||||
},
|
||||
...generateStaticProxyGroups(proxyGroupDefaults),
|
||||
...generateServiceProxyGroups(services, proxyGroupDefaults),
|
||||
{
|
||||
...proxyGroupDefaults,
|
||||
name: "Domestic",
|
||||
type: "select",
|
||||
proxies: [
|
||||
"Chinese Mainland 🇨🇳",
|
||||
"PROXY",
|
||||
...staticProxyNames,
|
||||
"AUTO",
|
||||
...locations.map(({ name }) => name),
|
||||
],
|
||||
icon: `${BASE_ICON_SET_URL}Domestic.png`,
|
||||
},
|
||||
{
|
||||
...proxyGroupDefaults,
|
||||
name: "Others",
|
||||
@@ -509,13 +522,13 @@ const rules = [
|
||||
...generateServiceRules(services),
|
||||
"RULE-SET,reject,Advertising",
|
||||
"RULE-SET,win-spy,Advertising",
|
||||
"RULE-SET,direct,Chinese Mainland 🇨🇳",
|
||||
"RULE-SET,direct,Domestic",
|
||||
"RULE-SET,proxy,PROXY",
|
||||
"RULE-SET,telegramcidr,Telegram",
|
||||
"RULE-SET,xcidr,X",
|
||||
"RULE-SET,googlecidr,Google",
|
||||
"RULE-SET,cloudflarecidr,Cloudflare",
|
||||
"RULE-SET,cncidr,Chinese Mainland 🇨🇳",
|
||||
"RULE-SET,cncidr,Domestic",
|
||||
"MATCH,Others",
|
||||
];
|
||||
|
||||
|
||||
Reference in new issue
Block a user