mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 17:31:49 +08:00 
			
		
		
		
	| @@ -15,6 +15,7 @@ class Clash | |||||||
|         $array['uuid'] = $uuid; |         $array['uuid'] = $uuid; | ||||||
|         $array['alterId'] = 2; |         $array['alterId'] = 2; | ||||||
|         $array['cipher'] = 'auto'; |         $array['cipher'] = 'auto'; | ||||||
|  |         $array['udp'] = true; | ||||||
|         if ($server->tls) { |         if ($server->tls) { | ||||||
|             $tlsSettings = json_decode($server->tlsSettings); |             $tlsSettings = json_decode($server->tlsSettings); | ||||||
|             $array['tls'] = true; |             $array['tls'] = true; | ||||||
| @@ -42,6 +43,7 @@ class Clash | |||||||
|         $array['server'] = $server->host; |         $array['server'] = $server->host; | ||||||
|         $array['port'] = $server->port; |         $array['port'] = $server->port; | ||||||
|         $array['password'] = $password; |         $array['password'] = $password; | ||||||
|  |         $array['udp'] = true; | ||||||
|         $array['sni'] = $server->server_name; |         $array['sni'] = $server->server_name; | ||||||
|         if ($server->allow_insecure) { |         if ($server->allow_insecure) { | ||||||
|             $array['skip-cert-verify'] = true; |             $array['skip-cert-verify'] = true; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user