소스 검색

geosite:category-ru and ir

mhsanaei 6 일 전
부모
커밋
2938694c45
2개의 변경된 파일3개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 3
      web/html/xui/settings.html
  2. 2 1
      web/html/xui/xray.html

+ 1 - 3
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);

+ 2 - 1
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"