bug fix - outbound xhttp link

This commit is contained in:
MHSanaei 2024-12-27 21:30:51 +01:00
parent cf879f9527
commit 747ad3b9c8
No known key found for this signature in database
GPG Key ID: 7E4060F2FBE5AB7A

View File

@ -721,6 +721,7 @@ class Outbound extends CommonClass {
let headerType = url.searchParams.get('headerType') ?? undefined;
let host = url.searchParams.get('host') ?? undefined;
let path = url.searchParams.get('path') ?? undefined;
let mode = url.searchParams.get('mode') ?? undefined;
if (type === 'tcp' || type === 'none') {
stream.tcp = new TcpStreamSettings(headerType ?? 'none', host, path);