disable mux for vision flow #1193

This commit is contained in:
Alireza Ahmadi
2024-07-14 04:11:08 +02:00
parent 4d9c68dd7b
commit f6535dd83e

View File

@@ -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);
}