From c1a637ac29f786309de9890c838f9a261b1deb07 Mon Sep 17 00:00:00 2001 From: mercury Date: Sun, 28 Apr 2024 23:03:17 +0400 Subject: [PATCH] xray menu improve --- app/bot.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/bot.php b/app/bot.php index 651e70f..09e84e1 100644 --- a/app/bot.php +++ b/app/bot.php @@ -3791,7 +3791,10 @@ DNS-over-HTTPS with IP: $c = $this->getXray(); $pac = $this->getPacConf(); $text[] = "Menu -> " . $this->i18n('xray'); - $text[] = "fake domain: {$c['inbounds'][0]['tls']['reality']['handshake']['server']}"; + $text[] = "\nfake domain: {$pac['xray']['domain']}"; + $text[] = "public: {$pac['xray']['public']}"; + $text[] = "private: {$pac['xray']['private']}"; + $text[] = "shortId: {$pac['xray']['shortid']}"; $data[] = [ [ 'text' => $this->i18n('generateSecret'),