From 0a95b0c7b297ef30f45d4c055cd7e7f8cc5b825e Mon Sep 17 00:00:00 2001 From: mhsanaei <ho3ein.sanaei@gmail.com> Date: Sun, 14 Jul 2024 23:55:56 +0200 Subject: [PATCH] disable mux for vision flow Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com> --- web/assets/js/model/outbound.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/assets/js/model/outbound.js b/web/assets/js/model/outbound.js index 9b9a8146..bcd35478 100644 --- a/web/assets/js/model/outbound.js +++ b/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); }