diff --git a/web/assets/js/model/xray.js b/web/assets/js/model/xray.js index 97110ae9f..291f0adcd 100644 --- a/web/assets/js/model/xray.js +++ b/web/assets/js/model/xray.js @@ -1138,7 +1138,7 @@ class Inbound extends XrayCommonClass { } 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.network); } diff --git a/web/html/xui/form/tls_settings.html b/web/html/xui/form/tls_settings.html index a77bec404..db92eea53 100644 --- a/web/html/xui/form/tls_settings.html +++ b/web/html/xui/form/tls_settings.html @@ -5,7 +5,6 @@ {{ i18n "none" }} - TLS Reality + TLS