fix export xray

This commit is contained in:
mercury
2023-06-28 10:29:48 +04:00
parent cb07dded78
commit 652f6b698f
+1 -1
View File
@@ -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);