mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-02-02 07:28:13 -05:00
fix: app getConfig api
This commit is contained in:
parent
d7b88d7b5d
commit
abe93bf5ff
@ -30,8 +30,9 @@ class AppController extends Controller
|
|||||||
$proxies = [];
|
$proxies = [];
|
||||||
|
|
||||||
foreach ($servers as $item) {
|
foreach ($servers as $item) {
|
||||||
|
$protocol_settings = $item['protocol_settings'];
|
||||||
if ($item['type'] === 'shadowsocks'
|
if ($item['type'] === 'shadowsocks'
|
||||||
&& in_array($item['cipher'], [
|
&& in_array(data_get($protocol_settings, 'cipher'), [
|
||||||
'aes-128-gcm',
|
'aes-128-gcm',
|
||||||
'aes-192-gcm',
|
'aes-192-gcm',
|
||||||
'aes-256-gcm',
|
'aes-256-gcm',
|
||||||
|
Loading…
Reference in New Issue
Block a user