mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-04-19 21:42:24 +00:00
xtls bug fix
This commit is contained in:
parent
ab4b10f619
commit
54946e725e
1 changed files with 1 additions and 1 deletions
|
@ -715,7 +715,7 @@ class StreamSettings extends XrayCommonClass {
|
|||
static fromJson(json = {}) {
|
||||
let tls, reality;
|
||||
if (json.security === "xtls") {
|
||||
tls = TlsStreamSettings.fromJson(json.xtlsSettings);
|
||||
tls = TlsStreamSettings.fromJson(json.XTLSSettings);
|
||||
} else if (json.security === "tls") {
|
||||
tls = TlsStreamSettings.fromJson(json.tlsSettings);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue