diff --git a/web/html/xui/xray.html b/web/html/xui/xray.html
index 54f10ddf..96f5f32b 100644
--- a/web/html/xui/xray.html
+++ b/web/html/xui/xray.html
@@ -221,6 +221,7 @@
+
@@ -543,7 +544,8 @@
domains: {
ads: [
"geosite:category-ads-all",
- "ext:geosite_IR.dat:category-ads-all"
+ "ext:geosite_IR.dat:category-ads-all",
+ "ext:geosite_VN.dat:category-ads-all"
],
security: [
"ext:geosite_IR.dat:malware",
@@ -572,12 +574,13 @@
"regexp:.*\\.vn$",
"ext:geosite_VN.dat:vn",
"ext:geosite_VN.dat:ads"
- ]
},
familyProtectDNS: {
"servers": [
"1.1.1.3", // https://developers.cloudflare.com/1.1.1.1/setup/
- "1.0.0.3"
+ "1.0.0.3",
+ "94.140.14.15", // https://adguard-dns.io/kb/general/dns-providers/
+ "94.140.15.16"
],
"queryStrategy": "UseIPv4"
},
@@ -1490,6 +1493,20 @@
},
},
},
+ },
+ VNWARPSettings: {
+ get: function () {
+ return doAllItemsExist(this.settingsData.domains.vn, this.warpDomains);
+ },
+ set: function (newValue) {
+ if (newValue) {
+ this.warpDomains = [...this.warpDomains, ...this.settingsData.domains.vn];
+ } else {
+ this.warpDomains = this.warpDomains.filter(data => !this.settingsData.domains.vn.includes(data));
+ }
+ },
+ },
+ },
});