Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShahin <115543613+shahin-io@users.noreply.github.com>2024-02-17 19:23:40 +0300
committerGitHub <noreply@github.com>2024-02-17 19:23:40 +0300
commitea67b9760d538cbbcdd858c6a73aab74d878ff12 (patch)
tree5cf58b37d0ac8a4ae0822ff807c8b8f52d94814e /web/assets/js
parent3a503f12c8826fa7197f08f5af50c1911f3adcfe (diff)
Minor fix in outbound form (#1810)
* Update outbound.html * Update outbound.js * Update outbound.html * Update outbound.html
Diffstat (limited to 'web/assets/js')
-rw-r--r--web/assets/js/model/outbound.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/assets/js/model/outbound.js b/web/assets/js/model/outbound.js
index dc02d91b..6a52563d 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);
}