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:
authorRammiah <rammiahcn@gmail.com>2024-04-20 14:16:08 +0300
committerGitHub <noreply@github.com>2024-04-20 14:16:08 +0300
commita3a2d7a6a3aaa25481f80ea6fa5c6698419fe0b4 (patch)
tree09df92249b3f47a7b7cf0792ea36bc902815e5f9 /web/html
parent2cf2c451c24a98d699d234ca073e1af9a0339833 (diff)
fix dns ui (#2229)
fix domains for nameserver only record, domain will keep after edit a server with domains list
Diffstat (limited to 'web/html')
-rw-r--r--web/html/xui/dns_modal.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/web/html/xui/dns_modal.html b/web/html/xui/dns_modal.html
index 3035e9e1..4c85e7f3 100644
--- a/web/html/xui/dns_modal.html
+++ b/web/html/xui/dns_modal.html
@@ -53,7 +53,11 @@
if (typeof dnsServer == 'object'){
this.dnsServer = dnsServer;
} else {
- this.dnsServer.address = dnsServer?? '';
+ this.dnsServer = {
+ address: dnsServer ?? "",
+ domains: [],
+ queryStrategy: 'UseIP',
+ }
}
} else {
this.dnsServer = {