diff --git a/src/Services/Subscribe/Clash.php b/src/Services/Subscribe/Clash.php index 4e7fda11..124c7cca 100755 --- a/src/Services/Subscribe/Clash.php +++ b/src/Services/Subscribe/Clash.php @@ -35,14 +35,14 @@ final class Clash extends Base 'name' => $node_raw->name, 'type' => 'ss', 'server' => $node_raw->server, - 'port' => (int) $user->port, + 'port' => (int) $node_custom_config['offset_port_user'], 'password' => $user->passwd, - 'cipher' => $user->method, + 'cipher' => $node_custom_config['method'] 'udp' => (bool) $udp, 'plugin' => $plugin, 'plugin-opts' => $plugin_option, ]; - + break; case 1: $ss_2022_port = $node_custom_config['offset_port_user'] ??