Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/web/html
diff options
context:
space:
mode:
authormhsanaei <ho3ein.sanaei@gmail.com>2024-09-13 12:15:55 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2024-09-13 12:15:55 +0300
commit2938694c45838ecfcab746aa31d48cedc7d00273 (patch)
tree4cdc9664385e6b526aa64edd2f0db03813871ccf /web/html
parent88d0fb9753f600829ea465a7041a6de4dee117d1 (diff)
geosite:category-ru and ir
Diffstat (limited to 'web/html')
-rw-r--r--web/html/xui/settings.html4
-rw-r--r--web/html/xui/xray.html3
2 files changed, 3 insertions, 4 deletions
diff --git a/web/html/xui/settings.html b/web/html/xui/settings.html
index 4e2ea055..3433a648 100644
--- a/web/html/xui/settings.html
+++ b/web/html/xui/settings.html
@@ -706,9 +706,7 @@
let category = '';
if (["cn", "private"].includes(d)) {
category = "";
- } else if (d === 'ru') {
- category = "category-gov-";
- } else {
+ } else if (["ru", "ir"].includes(d)) {
category = "category-";
}
rules[0].domain.push("geosite:" + category + d);
diff --git a/web/html/xui/xray.html b/web/html/xui/xray.html
index a4965cf5..39010f28 100644
--- a/web/html/xui/xray.html
+++ b/web/html/xui/xray.html
@@ -850,10 +850,11 @@
"regexp:.*\\.cn$"
],
ru: [
- "geosite:category-gov-ru",
+ "geosite:category-ru", //https://github.com/v2fly/domain-list-community/blob/master/data/category-ru
"regexp:.*\\.ru$"
],
ir: [
+ "geosite:category-ir", // https://github.com/v2fly/domain-list-community/blob/master/data/category-ir
"regexp:.*\\.ir$",
"regexp:.*\\.xn--mgba3a4f16a$", // .ایران
"ext:geosite_IR.dat:ir"