mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-12-17 20:54:40 +03:00
fixed: type #3186
This commit is contained in:
@@ -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') {
|
||||||
|
|||||||
Reference in New Issue
Block a user