mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 01:11:46 +08:00 
			
		
		
		
	protocols: fix gRPC protocol serviceName field
fix anXray serverName filed
This commit is contained in:
		| @@ -75,7 +75,7 @@ class V2rayNG | ||||
|         } | ||||
|         if ((string)$server['network'] === 'grpc') { | ||||
|             $grpcSettings = json_decode($server['networkSettings'], true); | ||||
|             if (isset($grpcSettings['path'])) $config['path'] = $grpcSettings['serviceName']; | ||||
|             if (isset($grpcSettings['serviceName'])) $config['path'] = $grpcSettings['serviceName']; | ||||
|         } | ||||
|         return "vmess://" . base64_encode(json_encode($config)) . "\r\n"; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user