mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-05-13 11:48:06 +00:00
params.set xtls
This commit is contained in:
parent
e2fd84a6ae
commit
606360ae03
1 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue