diff --git a/app/bot.php b/app/bot.php index 7c3b045..922709d 100644 --- a/app/bot.php +++ b/app/bot.php @@ -481,6 +481,7 @@ class Bot public function restartXray($c) { + $c['inbounds'][0]['settings']['clients'] = array_values($c['inbounds'][0]['settings']['clients']); $this->ssh('pkill xray', 'xr'); file_put_contents('/config/xray.json', json_encode($c, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES)); $this->ssh('xray run -config /xray.json > /dev/null 2>&1 &', 'xr'); diff --git a/version b/version index 30eacbc..fec38a5 100644 --- a/version +++ b/version @@ -1,3 +1,5 @@ +11.04.2024 v1.23 +- фикс совместимости старого конфига xray из бэкапа 11.04.2024 v1.22 - улучшение гибкости выбора шаблона sing-box 11.04.2024 v1.21