Add TLS for SHADOWSOCKS #1300
This commit is contained in:
1 parent
5fbf8f0d53
commit
784b93cfd0
2 files changed
+2
-2
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user