diff options
| author | Дмитрий Олегович Саенко <saenkodmitriiol@gmail.com> | 2025-09-23 20:43:56 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-23 20:43:56 +0300 |
| commit | 02bff4db6c99bac0aefb5c4c65c986d8d5b802a9 (patch) | |
| tree | 09f7b5550bad4324fdaf63b34117766dba3e45ba /web/html/modals/xray_dns_modal.html | |
| parent | 8ff4e1ff316cc60d1fb408c074f6294393758f43 (diff) | |
max port to 65535 (#3536)
* add EXPOSE port in Dockerfile
* fix: max port 65 531 -> 65 535
* fix
---------
Co-authored-by: mhsanaei <ho3ein.sanaei@gmail.com>
Diffstat (limited to 'web/html/modals/xray_dns_modal.html')
| -rw-r--r-- | web/html/modals/xray_dns_modal.html | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/web/html/modals/xray_dns_modal.html b/web/html/modals/xray_dns_modal.html index 484bd2f8..97970555 100644 --- a/web/html/modals/xray_dns_modal.html +++ b/web/html/modals/xray_dns_modal.html @@ -7,12 +7,13 @@ <a-input v-model.trim="dnsModal.dnsServer.address"></a-input> </a-form-item> <a-form-item label='{{ i18n "pages.inbounds.port" }}'> - <a-input-number v-model.number="dnsModal.dnsServer.port" :min="1" :max="65531"></a-input-number> + <a-input-number v-model.number="dnsModal.dnsServer.port" :min="1" :max="65535"></a-input-number> </a-form-item> <a-form-item label='{{ i18n "pages.xray.dns.strategy" }}'> <a-select v-model="dnsModal.dnsServer.queryStrategy" :style="{ width: '100%' }" :dropdown-class-name="themeSwitcher.currentTheme"> - <a-select-option :value="l" :label="l" v-for="l in ['UseSystem', 'UseIP', 'UseIPv4', 'UseIPv6']"> [[ l ]] </a-select-option> + <a-select-option :value="l" :label="l" v-for="l in ['UseSystem', 'UseIP', 'UseIPv4', 'UseIPv6']"> [[ l ]] + </a-select-option> </a-select> </a-form-item> <a-divider :style="{ margin: '5px 0' }"></a-divider> @@ -75,7 +76,7 @@ isEdit: false, confirm: null, dnsServer: { ...defaultDnsObject }, - ok() { + ok() { ObjectUtil.execute(dnsModal.confirm, { ...dnsModal.dnsServer }); }, show({ @@ -106,7 +107,7 @@ } } else { this.dnsServer = { ...defaultDnsObject }; - + this.dnsServer.domains = []; this.dnsServer.expectIPs = []; this.dnsServer.unexpectedIPs = []; |
