diff --git a/app/Services/Cron/FreenodePool.php b/app/Services/Cron/FreenodePool.php index b01b51cf..bbaf14c3 100755 --- a/app/Services/Cron/FreenodePool.php +++ b/app/Services/Cron/FreenodePool.php @@ -112,7 +112,13 @@ final class FreenodePool // $aNode["cipher"] = '"auto''; // } // } - + + if ($aNode["type"] == "vmess") { + if (!isset($aNode["cipher"])) { + $aNode["cipher"] = "auto"; + } + } + $aNodeFormat["protocolType"] = $aNode["type"]; $aNodeFormat["country"] = $aNode["name"]; // data $aNode["name"] = "";