diff --git a/src/Utils/URL.php b/src/Utils/URL.php index baeccc355f..44b8384d8a 100644 --- a/src/Utils/URL.php +++ b/src/Utils/URL.php @@ -387,7 +387,7 @@ public static function getV2Url( bool $arrout = false, bool $emoji = false ) { - $item = Tools::v2Array($node->server); + $item = Tools::v2Array($node); $item['v'] = '2'; $item['type'] = 'vmess'; $item['ps'] = ($emoji ? Tools::addEmoji($node->name) : $node->name);