improve NaiveProxy menu
This commit is contained in:
+5
-4
@@ -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[] = "<code>https://np.{$pac['domain']}</code>";
|
||||
$text[] = "user: <span class='tg-spoiler'>{$pac['naive']['user']}</span>";
|
||||
$text[] = "password: <span class='tg-spoiler'>{$pac['naive']['pass']}</span>";
|
||||
$data[] = [
|
||||
|
||||
Reference in New Issue
Block a user