mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 09:21:46 +08:00 
			
		
		
		
	update: custom v2ray alter id
This commit is contained in:
		| @@ -26,7 +26,7 @@ class Clash | ||||
|         $array['server'] = $server['host']; | ||||
|         $array['port'] = $server['port']; | ||||
|         $array['uuid'] = $uuid; | ||||
|         $array['alterId'] = 2; | ||||
|         $array['alterId'] = $server['alter_id']; | ||||
|         $array['cipher'] = 'auto'; | ||||
|         $array['udp'] = true; | ||||
|         if ($server['tls']) { | ||||
|   | ||||
| @@ -20,7 +20,8 @@ class Shadowrocket | ||||
|     { | ||||
|         $userinfo = base64_encode('auto:' . $uuid . '@' . $server['host'] . ':' . $server['port']); | ||||
|         $config = [ | ||||
|             'remark' => $server['name'] | ||||
|             'remark' => $server['name'], | ||||
|             'alterId' => $server['alter_id'] | ||||
|         ]; | ||||
|         if ($server['tls']) { | ||||
|             $tlsSettings = json_decode($server['tlsSettings'], true); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user