fix: shadowrocket grpc

This commit is contained in:
tokumeikoi 2021-07-02 21:52:13 +09:00
parent dfef6d2d94
commit f95deb3f16

View File

@ -49,7 +49,7 @@ class Shadowrocket
if (isset($server['networkSettings'])) {
$grpcObject = json_decode($server['networkSettings'], true);
if (isset($grpcObject['serviceName'])) {
$config['obfsParam'] = json_decode([
$config['obfsParam'] = json_encode([
'Host' => $grpcObject['serviceName']
]);
$config['path'] = '/';