diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2026-05-04 14:20:24 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2026-05-04 14:20:24 +0300 |
| commit | e19061d513b8c4fb2207b4a553a96ea086089612 (patch) | |
| tree | 8a05450f0f6d3e8a2a182976b1a38bf5cca824ea /web/html/modals/xray_dns_modal.html | |
| parent | 51e2fb6dbfb6f3f21b3f578c15c3dc0d47c4a66e (diff) | |
TLS: Remove ECH Force Query
Diffstat (limited to 'web/html/modals/xray_dns_modal.html')
| -rw-r--r-- | web/html/modals/xray_dns_modal.html | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/web/html/modals/xray_dns_modal.html b/web/html/modals/xray_dns_modal.html index 97970555..0d02a71d 100644 --- a/web/html/modals/xray_dns_modal.html +++ b/web/html/modals/xray_dns_modal.html @@ -75,15 +75,19 @@ okText: '{{ i18n "confirm" }}', isEdit: false, confirm: null, - dnsServer: { ...defaultDnsObject }, + dnsServer: { + ...defaultDnsObject + }, ok() { - ObjectUtil.execute(dnsModal.confirm, { ...dnsModal.dnsServer }); + ObjectUtil.execute(dnsModal.confirm, { + ...dnsModal.dnsServer + }); }, show({ title = '', okText = '{{ i18n "confirm" }}', dnsServer, - confirm = (dnsServer) => { }, + confirm = (dnsServer) => {}, isEdit = false }) { this.title = title; @@ -95,7 +99,9 @@ if (isEdit) { switch (typeof dnsServer) { case 'string': - const dnsObj = { ...defaultDnsObject }; + const dnsObj = { + ...defaultDnsObject + }; dnsObj.address = dnsServer; @@ -106,7 +112,9 @@ break; } } else { - this.dnsServer = { ...defaultDnsObject }; + this.dnsServer = { + ...defaultDnsObject + }; this.dnsServer.domains = []; this.dnsServer.expectIPs = []; |
