mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-04-19 21:42:24 +00:00
fix mistake - xtls
This commit is contained in:
parent
97e6420018
commit
b056c2dda0
1 changed files with 12 additions and 0 deletions
|
@ -1001,6 +1001,18 @@ class Inbound extends XrayCommonClass {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get xtls() {
|
||||||
|
return this.stream.security === 'xtls';
|
||||||
|
}
|
||||||
|
|
||||||
|
set xtls(isXtls) {
|
||||||
|
if (isXtls) {
|
||||||
|
this.stream.security = 'xtls';
|
||||||
|
} else {
|
||||||
|
this.stream.security = 'none';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
get network() {
|
get network() {
|
||||||
return this.stream.network;
|
return this.stream.network;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue