xray menu improve

This commit is contained in:
mercury
2024-04-28 23:03:17 +04:00
parent 98d1961669
commit c1a637ac29
+4 -1
View File
@@ -3791,7 +3791,10 @@ DNS-over-HTTPS with IP:
$c = $this->getXray();
$pac = $this->getPacConf();
$text[] = "Menu -> " . $this->i18n('xray');
$text[] = "fake domain: <code>{$c['inbounds'][0]['tls']['reality']['handshake']['server']}</code>";
$text[] = "\nfake domain: <code>{$pac['xray']['domain']}</code>";
$text[] = "public: <code>{$pac['xray']['public']}</code>";
$text[] = "private: <code>{$pac['xray']['private']}</code>";
$text[] = "shortId: <code>{$pac['xray']['shortid']}</code>";
$data[] = [
[
'text' => $this->i18n('generateSecret'),