Skip to content

Commit 8b7bcb2

Browse files
authored
Update config.php
1 parent 02beb64 commit 8b7bcb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4076,7 +4076,7 @@ function getConnectionLink($server_id, $uniqid, $protocol, $remark, $port, $netT
40764076
}
40774077
}
40784078
$psting = '';
4079-
if(($header_type == 'http' && $rahgozar != true && $netType != "grpc") || ($netType == "ws" && !empty($host))) $psting .= "&path=/&host=$host";;
4079+
if(($header_type == 'http' && $rahgozar != true && $netType != "grpc") || ($netType == "ws" && !empty($host) && $rahgozar != true)) $psting .= "&path=/&host=$host";;
40804080
if($netType == 'tcp' and $header_type == 'http') $psting .= '&headerType=http';
40814081
if(strlen($sni) > 1 && $tlsStatus != "reality") $psting .= "&sni=$sni";
40824082
if(strlen($serverName)>1 && $tlsStatus=="xtls") $server_ip = $serverName;

0 commit comments

Comments
 (0)