Update xray.js

This commit is contained in:
MHSanaei 2023-03-19 14:39:19 +03:30
parent 63acd585ba
commit fe7ce3f74b

View file

@ -1157,6 +1157,9 @@ class Inbound extends XrayCommonClass {
}
if (this.XTLS) {
if (!ObjectUtil.isEmpty(this.stream.tls.server)) {
address = this.stream.tls.server;
}
params.set("flow", this.settings.vlesses[clientIndex].flow);
}
@ -1247,6 +1250,9 @@ class Inbound extends XrayCommonClass {
}
if (this.XTLS) {
if (!ObjectUtil.isEmpty(this.stream.tls.server)) {
address = this.stream.tls.server;
}
params.set("flow", this.settings.trojans[clientIndex].flow);
}