Przeglądaj źródła

disable mux for vision flow

Co-Authored-By: Alireza Ahmadi <[email protected]>
mhsanaei 4 miesięcy temu
rodzic
commit
0a95b0c7b2
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4 0
      web/assets/js/model/outbound.js

+ 4 - 0
web/assets/js/model/outbound.js

@@ -577,6 +577,10 @@ class Outbound extends CommonClass {
     }
 
     canEnableMux() {
+        if (this.settings.flow && this.settings.flow != ''){
+            this.mux.enabled = false;
+            return false;
+        }
         return [Protocols.VMess, Protocols.VLESS, Protocols.Trojan, Protocols.Shadowsocks, Protocols.HTTP, Protocols.Socks].includes(this.protocol);
     }