mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 09:21:46 +08:00 
			
		
		
		
	update: fix client protocol
This commit is contained in:
		| @@ -133,7 +133,7 @@ class Clash | ||||
|             if ($server['networkSettings']) { | ||||
|                 $grpcSettings = $server['networkSettings']; | ||||
|                 $array['grpc-opts'] = []; | ||||
|                 $array['grpc-opts']['grpc-service-name'] = $grpcSettings['serviceName']; | ||||
|                 if (isset($grpcSettings['serviceName'])) $array['grpc-opts']['grpc-service-name'] = $grpcSettings['serviceName']; | ||||
|             } | ||||
|         } | ||||
|  | ||||
|   | ||||
| @@ -134,7 +134,7 @@ class Stash | ||||
|             if ($server['networkSettings']) { | ||||
|                 $grpcSettings = $server['networkSettings']; | ||||
|                 $array['grpc-opts'] = []; | ||||
|                 $array['grpc-opts']['grpc-service-name'] = $grpcSettings['serviceName']; | ||||
|                 if (isset($grpcSettings['serviceName']))  $array['grpc-opts']['grpc-service-name'] = $grpcSettings['serviceName']; | ||||
|             } | ||||
|         } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user