diff options
| author | MHSanaei <33454419+MHSanaei@users.noreply.github.com> | 2023-03-26 15:55:28 +0300 |
|---|---|---|
| committer | MHSanaei <33454419+MHSanaei@users.noreply.github.com> | 2023-03-26 15:55:28 +0300 |
| commit | 606360ae03f6796aaa269a3f9871e1f18ae88242 (patch) | |
| tree | e09a1991c0347559542d0b13120a038d847e1ccc | |
| parent | e2fd84a6ae611254adf9aa0d9fdd2e078e73eb95 (diff) | |
params.set xtls
| -rw-r--r-- | web/assets/js/model/xray.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/assets/js/model/xray.js b/web/assets/js/model/xray.js index 9b0f8de9..775d56c8 100644 --- a/web/assets/js/model/xray.js +++ b/web/assets/js/model/xray.js @@ -1160,7 +1160,7 @@ class Inbound extends XrayCommonClass { } if (this.XTLS) { - params.set("security", "tls"); + params.set("security", "xtls"); params.set("alpn", this.stream.tls.alpn); if(this.stream.tls.settings[0].allowInsecure){ params.set("allowInsecure", "1"); @@ -1261,7 +1261,7 @@ class Inbound extends XrayCommonClass { } if (this.XTLS) { - params.set("security", "tls"); + params.set("security", "xtls"); params.set("alpn", this.stream.tls.alpn); if(this.stream.tls.settings[0].allowInsecure){ params.set("allowInsecure", "1"); |
