mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 17:31:49 +08:00 
			
		
		
		
	update: app controller
This commit is contained in:
		| @@ -34,7 +34,12 @@ class AppController extends Controller | |||||||
|  |  | ||||||
|         foreach ($servers as $item) { |         foreach ($servers as $item) { | ||||||
|             if ($item['type'] === 'shadowsocks' |             if ($item['type'] === 'shadowsocks' | ||||||
|                 && in_array($item['cipher'], ['aes-128-gcm', 'aes-256-gcm', 'aes-192-gcm']) |                 && in_array($item['cipher'], [ | ||||||
|  |                     'aes-128-gcm', | ||||||
|  |                     'aes-192-gcm', | ||||||
|  |                     'aes-256-gcm', | ||||||
|  |                     'chacha20-ietf-poly1305' | ||||||
|  |                 ]) | ||||||
|             ) { |             ) { | ||||||
|                 array_push($proxy, Protocols\Clash::buildShadowsocks($user['uuid'], $item)); |                 array_push($proxy, Protocols\Clash::buildShadowsocks($user['uuid'], $item)); | ||||||
|                 array_push($proxies, $item['name']); |                 array_push($proxies, $item['name']); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user