From f6535dd83ee24796553dd0f24c2fdcf4bf4e1fee Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Sun, 14 Jul 2024 04:11:08 +0200 Subject: [PATCH] disable mux for vision flow #1193 --- 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 c37d2130..b700e1c4 100644 --- a/web/assets/js/model/outbound.js +++ b/web/assets/js/model/outbound.js @@ -575,6 +575,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); }