From 63654e7ad74d92a4d6b89f889f2f8802c2a43c38 Mon Sep 17 00:00:00 2001 From: mercury Date: Sun, 22 Dec 2024 15:23:58 +0400 Subject: [PATCH] cloak donate --- app/bot.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/bot.php b/app/bot.php index f100fb0..753f749 100644 --- a/app/bot.php +++ b/app/bot.php @@ -4008,6 +4008,7 @@ DNS-over-HTTPS with IP: $conf = $this->getPacConf(); $domain = $conf['domain'] ?: $this->ip; $update = exec('git -C / rev-list --count HEAD..@{u}'); + $hash = $this->getHashBot(); if ($type == false) { $backup = array_filter(explode('/', $conf['backup'])); if (!empty($backup)) { @@ -4105,7 +4106,7 @@ DNS-over-HTTPS with IP: [ 'text' => $this->i18n('donate'), 'web_app' => [ - 'url' => "https://$domain/donate.html", + 'url' => "https://$domain/webapp$hash/donate.html", ] ], ],