diff --git a/web/assets/js/model/outbound.js b/web/assets/js/model/outbound.js index 5420ef5e..6683225c 100644 --- a/web/assets/js/model/outbound.js +++ b/web/assets/js/model/outbound.js @@ -418,7 +418,7 @@ class Outbound extends CommonClass { } canEnableTls() { - if (![Protocols.VMess, Protocols.VLESS, Protocols.Trojan].includes(this.protocol)) return false; + if (![Protocols.VMess, Protocols.VLESS, Protocols.Trojan, Protocols.Shadowsocks].includes(this.protocol)) return false; return ["tcp", "ws", "http", "quic", "grpc"].includes(this.stream.network); } diff --git a/web/html/xui/form/outbound.html b/web/html/xui/form/outbound.html index 00bdf247..e7edfc32 100644 --- a/web/html/xui/form/outbound.html +++ b/web/html/xui/form/outbound.html @@ -195,15 +195,24 @@ + + + + + + [[ method_name ]] + + + + + + + + @@ -365,7 +374,7 @@