no message

This commit is contained in:
hellcat 2026-05-08 17:58:29 +08:00
parent 66959ad103
commit b585fbbc53
2 changed files with 8 additions and 0 deletions

View File

@ -25,6 +25,10 @@ final class Clash extends Base
foreach ($nodes_raw as $node_raw) {
$node_custom_config = json_decode($node_raw->custom_config, true);
if ($node_raw->country_emoji) {
$node_raw->name = $node_raw->country_emoji.' '.$node_raw->name;
}
switch ((int) $node_raw->sort) {
case 0:
$plugin = $node_custom_config['plugin'] ?? '';

View File

@ -25,6 +25,10 @@ final class V2Ray extends Base
foreach ($nodes_raw as $node_raw) {
$node_custom_config = json_decode($node_raw->custom_config, true);
if ($node_raw->country_emoji) {
$node_raw->name = $node_raw->country_emoji.' '.$node_raw->name;
}
if ((int) $node_raw->sort === 111) {
$v2_port = $node_custom_config['offset_port_user'] ?? ($node_custom_config['offset_port_node'] ?? 443);