update: fix client

This commit is contained in:
tokumeikoi
2022-11-20 15:24:03 +08:00
parent d1194ef310
commit bb900d59b0
4 changed files with 27 additions and 4 deletions

View File

@ -29,7 +29,12 @@ class Surfboard
foreach ($servers as $item) {
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'
])
) {
// [Proxy]
$proxies .= self::buildShadowsocks($user['uuid'], $item);