fix: vmess grpc

This commit is contained in:
xboard 2025-01-09 20:02:19 +08:00
parent 6b436255a0
commit ed43ffc3f5
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ class UniProxyController extends Controller
$baseConfig = [
'server_port' => $serverPort,
'network' => $protocolSettings['network'] ?? null,
'network_settings' => $protocolSettings['network_settings'] ?? null,
'networkSettings' => $protocolSettings['network_settings'] ?? null,
];
$response = match ($nodeType) {

View File

@ -93,7 +93,7 @@ class General implements ProtocolInterface
break;
case 'grpc':
$config['type'] = 'grpc';
$config['service_name'] = data_get($protocol_settings, 'network_settings.serviceName');
$config['path'] = data_get($protocol_settings, 'network_settings.serviceName');
break;
default:
break;