mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-01-22 18:48:14 -05:00
fix: vmess grpc
This commit is contained in:
parent
6b436255a0
commit
ed43ffc3f5
@ -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) {
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user