update: new cipher

This commit is contained in:
tokumeikoi
2022-11-18 02:39:28 +08:00
parent 7872516037
commit 964376fa3c
7 changed files with 16 additions and 7 deletions

View File

@ -28,7 +28,9 @@ class Surge
$proxyGroup = '';
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'])
) {
// [Proxy]
$proxies .= self::buildShadowsocks($user['uuid'], $item);
// [Proxy Group]