Minor fix in outbound form (#1810)

* Update outbound.html

* Update outbound.js

* Update outbound.html

* Update outbound.html
This commit is contained in:
Shahin
2024-02-17 16:23:40 +00:00
committed by GitHub
parent 3a503f12c8
commit ea67b9760d
2 changed files with 12 additions and 6 deletions

View File

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