This commit is contained in:
mhsanaei 2025-07-04 13:18:23 +02:00
parent c81c27073c
commit 24a313d605
No known key found for this signature in database
GPG key ID: D875CD086CF668A0

View file

@ -1249,7 +1249,6 @@ class Inbound extends XrayCommonClass {
id: clientId, id: clientId,
scy: security, scy: security,
net: this.stream.network, net: this.stream.network,
type: 'none',
tls: tls, tls: tls,
}; };
const network = this.stream.network; const network = this.stream.network;
@ -1284,7 +1283,7 @@ class Inbound extends XrayCommonClass {
const xhttp = this.stream.xhttp; const xhttp = this.stream.xhttp;
obj.path = xhttp.path; obj.path = xhttp.path;
obj.host = xhttp.host?.length > 0 ? xhttp.host : this.getHeader(xhttp, 'host'); obj.host = xhttp.host?.length > 0 ? xhttp.host : this.getHeader(xhttp, 'host');
obj.mode = xhttp.mode; obj.type = xhttp.mode;
} }
if (tls === 'tls') { if (tls === 'tls') {