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
diff options
context:
space:
mode:
Diffstat (limited to 'web/html/xray.html')
-rw-r--r--web/html/xray.html19
1 files changed, 17 insertions, 2 deletions
diff --git a/web/html/xray.html b/web/html/xray.html
index f4d89c84..ce5e1ab7 100644
--- a/web/html/xray.html
+++ b/web/html/xray.html
@@ -269,7 +269,7 @@
tag: "direct",
protocol: "freedom"
},
- routingDomainStrategies: ["AsIs", "IPIfNonMatch", "IPOnDemand"],
+ routingDomainStrategies: ["AsIs", "IpIfNonMatch", "IpOnDemand"],
log: {
loglevel: ["none", "debug", "info", "warning", "error"],
access: ["none", "./access.log"],
@@ -1315,7 +1315,8 @@
newTemplateSettings.dns = {
servers: [],
queryStrategy: "UseIP",
- tag: "dns_inbound"
+ tag: "dns_inbound",
+ enableParallelQuery: false
};
newTemplateSettings.fakedns = null;
} else {
@@ -1391,6 +1392,20 @@
this.templateSettings = newTemplateSettings;
}
},
+ dnsEnableParallelQuery: {
+ get: function () {
+ return this.enableDNS ? (this.templateSettings.dns.enableParallelQuery || false) : false;
+ },
+ set: function (newValue) {
+ newTemplateSettings = this.templateSettings;
+ if (newValue) {
+ newTemplateSettings.dns.enableParallelQuery = newValue;
+ } else {
+ delete newTemplateSettings.dns.enableParallelQuery
+ }
+ this.templateSettings = newTemplateSettings;
+ }
+ },
dnsUseSystemHosts: {
get: function () {
return this.enableDNS ? this.templateSettings.dns.useSystemHosts : false;