Update META.js

This commit is contained in:
xixu-me committed 2024-11-14 21:50:19 +08:00
1 parent e839494a5d
commit cb5c48e4ac
1 file changed
+12
+12
View File
@@ -21,6 +21,10 @@ const services = [
name: "bilibili",
icon: `${BASE_ICON_SET_URL}bilibili_2.png`,
},
{
name: "Telegram",
icon: `${BASE_ICON_SET_URL}Telegram_X.png`,
},
{
name: "X",
icon: `${BASE_ICON_SET_URL}X.png`,
@@ -492,6 +496,7 @@ const rules = [
...generateServiceRules(services),
"RULE-SET,direct,Mainland China 🇨🇳",
"RULE-SET,proxy,PROXY",
"RULE-SET,telegramcidr,Telegram",
"RULE-SET,xcidr,X",
"RULE-SET,googlecidr,Google",
"RULE-SET,cloudflarecidr,Cloudflare",
@@ -556,6 +561,13 @@ const ruleProviders = {
url: "https://cdn.jsdelivr.net/gh/xixu-me/rulesets-for-META@basic/googlecidr.mrs",
path: "./rulesets/googlecidr.mrs",
},
telegramcidr: {
...ruleProviderDefaults,
format: "mrs",
behavior: "ipcidr",
url: "https://cdn.jsdelivr.net/gh/xixu-me/rulesets-for-META@basic/telegramcidr.mrs",
path: "./rulesets/telegramcidr.mrs",
},
xcidr: {
...ruleProviderDefaults,
format: "mrs",