瀏覽代碼

set flow to none when we change TCP thanks to @sudospaes

when we change transmission type from TCP to others

Co-Authored-By: SudoSpace <[email protected]>
MHSanaei 1 年之前
父節點
當前提交
81a057d638
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      web/html/xui/inbound_modal.html

+ 5 - 0
web/html/xui/inbound_modal.html

@@ -111,6 +111,11 @@
                 if (!inModal.inbound.canEnableReality()) {
                     this.inModal.inbound.reality = false;
                 }
+                if (this.inModal.inbound.protocol == Protocols.VLESS && !inModal.inbound.canEnableTlsFlow()) {
+                    this.inModal.inbound.settings.vlesses.forEach(client => {
+                        client.flow = "";
+                    });
+                }
             },
             setDefaultCertData(index) {
                 inModal.inbound.stream.tls.certs[index].certFile = app.defaultCert;