From f2f6d12abdb46fb473485c4178265511b7176b0a Mon Sep 17 00:00:00 2001 From: mercury Date: Mon, 19 Feb 2024 13:13:42 +0400 Subject: [PATCH] improve NaiveProxy menu --- app/bot.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/bot.php b/app/bot.php index 471bf24..7ad37e0 100644 --- a/app/bot.php +++ b/app/bot.php @@ -2928,8 +2928,8 @@ DNS-over-HTTPS with IP: ], [ [ - 'text' => $this->i18n('config'), - 'callback_data' => "/menu config", + 'text' => $this->i18n('naive'), + 'callback_data' => "/menu naive", ], [ 'text' => $this->i18n('pac'), @@ -2938,8 +2938,8 @@ DNS-over-HTTPS with IP: ], [ [ - 'text' => $this->i18n('naive'), - 'callback_data' => "/menu naive", + 'text' => $this->i18n('config'), + 'callback_data' => "/menu config", ], ], [ @@ -3011,6 +3011,7 @@ DNS-over-HTTPS with IP: { $pac = $this->getPacConf(); $text[] = "Menu -> NaiveProxy"; + $text[] = "https://np.{$pac['domain']}"; $text[] = "user: {$pac['naive']['user']}"; $text[] = "password: {$pac['naive']['pass']}"; $data[] = [