mirror of
https://github.com/v2board/v2board.git
synced 2025-01-25 15:39:10 +08:00
fix: shadowrocket grpc
This commit is contained in:
parent
dfef6d2d94
commit
f95deb3f16
@ -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'] = '/';
|
||||
|
Loading…
Reference in New Issue
Block a user