diff --git a/web/assets/js/model/outbound.js b/web/assets/js/model/outbound.js index c50dc240..c3008e18 100644 --- a/web/assets/js/model/outbound.js +++ b/web/assets/js/model/outbound.js @@ -547,6 +547,10 @@ class Outbound extends CommonClass { return [Protocols.VMess, Protocols.VLESS, Protocols.Trojan, Protocols.Shadowsocks].includes(this.protocol); } + canEnableMux() { + return [Protocols.VMess, Protocols.VLESS, Protocols.Trojan, Protocols.Shadowsocks, Protocols.HTTP, Protocols.Socks].includes(this.protocol); + } + hasVnext() { return [Protocols.VMess, Protocols.VLESS].includes(this.protocol); } diff --git a/web/html/xui/form/outbound.html b/web/html/xui/form/outbound.html index 14bcc461..787108c2 100644 --- a/web/html/xui/form/outbound.html +++ b/web/html/xui/form/outbound.html @@ -429,21 +429,23 @@ - - - -