From e19061d513b8c4fb2207b4a553a96ea086089612 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Mon, 4 May 2026 13:20:24 +0200 Subject: TLS: Remove ECH Force Query --- web/html/modals/inbound_modal.html | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-) (limited to 'web/html/modals/inbound_modal.html') diff --git a/web/html/modals/inbound_modal.html b/web/html/modals/inbound_modal.html index aab1af6d..73918f60 100644 --- a/web/html/modals/inbound_modal.html +++ b/web/html/modals/inbound_modal.html @@ -23,7 +23,7 @@ okText = '{{ i18n "sure" }}', inbound = null, dbInbound = null, - confirm = (inbound, dbInbound) => { }, + confirm = (inbound, dbInbound) => {}, isEdit = false, }) { this.title = title; @@ -127,17 +127,17 @@ get client() { return inModal.inbound && inModal.inbound.clients && - inModal.inbound.clients.length > 0 - ? inModal.inbound.clients[0] - : null; + inModal.inbound.clients.length > 0 ? + inModal.inbound.clients[0] : + null; }, get datepicker() { return app.datepicker; }, get delayedExpireDays() { - return this.client && this.client.expiryTime < 0 - ? this.client.expiryTime / -86400000 - : 0; + return this.client && this.client.expiryTime < 0 ? + this.client.expiryTime / -86400000 : + 0; }, set delayedExpireDays(days) { this.client.expiryTime = -86400000 * days; @@ -147,14 +147,12 @@ }, set externalProxy(value) { if (value) { - inModal.inbound.stream.externalProxy = [ - { - forceTls: "same", - dest: window.location.hostname, - port: inModal.inbound.port, - remark: "", - }, - ]; + inModal.inbound.stream.externalProxy = [{ + forceTls: "same", + dest: window.location.hostname, + port: inModal.inbound.port, + remark: "", + }, ]; } else { inModal.inbound.stream.externalProxy = []; } @@ -182,8 +180,8 @@ ) { const hasVisionFlow = inModal.inbound.settings.vlesses.some( (c) => - c.flow === "xtls-rprx-vision" || - c.flow === "xtls-rprx-vision-udp443", + c.flow === "xtls-rprx-vision" || + c.flow === "xtls-rprx-vision-udp443", ); if ( hasVisionFlow && -- cgit v1.2.3