xtls bug fix
This commit is contained in:
1 parent
ab4b10f619
commit
54946e725e
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user