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:
authorMHSanaei <33454419+MHSanaei@users.noreply.github.com>2023-03-26 15:55:28 +0300
committerMHSanaei <33454419+MHSanaei@users.noreply.github.com>2023-03-26 15:55:28 +0300
commit606360ae03f6796aaa269a3f9871e1f18ae88242 (patch)
treee09a1991c0347559542d0b13120a038d847e1ccc
parente2fd84a6ae611254adf9aa0d9fdd2e078e73eb95 (diff)
params.set xtls
-rw-r--r--web/assets/js/model/xray.js4
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");