diff --git a/app/bot.php b/app/bot.php index ba8b759..875dea3 100644 --- a/app/bot.php +++ b/app/bot.php @@ -3507,7 +3507,7 @@ DNS-over-HTTPS with IP: $ip = $this->ip; $domain = $conf['domain'] ?: $ip; $scheme = empty($ssl = $this->nginxGetTypeCert()) ? 'http' : 'https'; - $text = $conf['adgbrowser'] ? "$scheme://$domain/adguard\nLogin: admin\nPass: {$conf['adpswd']}\n\n" : ''; + $text = "$scheme://$domain/adguard\nLogin: admin\nPass: {$conf['adpswd']}\n\n"; if ($ssl) { $text .= "DNS over HTTPS:\n$ip\n$scheme://$domain/dns-query" . ($conf['adguardkey'] ? "/{$conf['adguardkey']}" : '') . "\n\n"; $text .= "DNS over TLS:\ntls://" . ($conf['adguardkey'] ? "{$conf['adguardkey']}." : '') . "$domain";