mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-02-02 07:28:13 -05:00
fix: 修复shadowrocket grpc协议sni下发错误的问题
This commit is contained in:
parent
2e08328ec1
commit
53efe20a86
@ -209,7 +209,7 @@ class Shadowrocket
|
|||||||
$config['path'] = $grpcSettings['serviceName'];
|
$config['path'] = $grpcSettings['serviceName'];
|
||||||
}
|
}
|
||||||
if (isset($tlsSettings)) {
|
if (isset($tlsSettings)) {
|
||||||
$config['host'] = $tlsSettings['serverName'];
|
$config['host'] = $tlsSettings['server_name'];
|
||||||
} else {
|
} else {
|
||||||
$config['host'] = $server['host'];
|
$config['host'] = $server['host'];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user