Browse Source

update: fix issue #663

v2board 2 năm trước cách đây
mục cha
commit
1ffe78541d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/Http/Controllers/Client/Protocols/Shadowsocks.php

+ 1 - 1
app/Http/Controllers/Client/Protocols/Shadowsocks.php

@@ -30,7 +30,7 @@ class Shadowsocks
 
         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-256-gcm', 'aes-192-gcm', 'chacha20-ietf-poly1305'])
             ) {
                 array_push($configs, self::SIP008($item, $user));
             }