no message
This commit is contained in:
parent
66959ad103
commit
b585fbbc53
@ -25,6 +25,10 @@ final class Clash extends Base
|
|||||||
foreach ($nodes_raw as $node_raw) {
|
foreach ($nodes_raw as $node_raw) {
|
||||||
$node_custom_config = json_decode($node_raw->custom_config, true);
|
$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) {
|
switch ((int) $node_raw->sort) {
|
||||||
case 0:
|
case 0:
|
||||||
$plugin = $node_custom_config['plugin'] ?? '';
|
$plugin = $node_custom_config['plugin'] ?? '';
|
||||||
|
|||||||
@ -26,6 +26,10 @@ final class V2Ray extends Base
|
|||||||
foreach ($nodes_raw as $node_raw) {
|
foreach ($nodes_raw as $node_raw) {
|
||||||
$node_custom_config = json_decode($node_raw->custom_config, true);
|
$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) {
|
if ((int) $node_raw->sort === 111) {
|
||||||
$v2_port = $node_custom_config['offset_port_user'] ?? ($node_custom_config['offset_port_node'] ?? 443);
|
$v2_port = $node_custom_config['offset_port_user'] ?? ($node_custom_config['offset_port_node'] ?? 443);
|
||||||
$security = $node_custom_config['security'] ?? 'none';
|
$security = $node_custom_config['security'] ?? 'none';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user