From 652f6b698fc2cf70d0b2fc3281ca82d77cf24c60 Mon Sep 17 00:00:00 2001 From: mercury Date: Wed, 28 Jun 2023 10:29:48 +0400 Subject: [PATCH] fix export xray --- app/bot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/bot.php b/app/bot.php index f18c9a1..9480a30 100644 --- a/app/bot.php +++ b/app/bot.php @@ -740,7 +740,7 @@ class Bot 'public' => file_get_contents('/certs/cert_public'), ] : false, 'mtproto' => file_get_contents('/config/mtprotosecret'), - 'xray' => file_get_contents('/config/xray.json'), + 'xray' => json_decode(file_get_contents('/config/xray.json'), true), ]; return json_encode($conf, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES);