fix: 修复shadowrocket grpc协议sni下发错误的问题

This commit is contained in:
xboard 2024-01-24 20:26:58 +08:00
parent 2e08328ec1
commit 53efe20a86

View File

@ -209,7 +209,7 @@ class Shadowrocket
$config['path'] = $grpcSettings['serviceName'];
}
if (isset($tlsSettings)) {
$config['host'] = $tlsSettings['serverName'];
$config['host'] = $tlsSettings['server_name'];
} else {
$config['host'] = $server['host'];
}