From a2026a4436e6b2944a1f562a477f5e66fcf12aa5 Mon Sep 17 00:00:00 2001 From: mercury Date: Fri, 3 Jan 2025 13:55:49 +0400 Subject: [PATCH] adaptation of the log analyzer --- app/bot.php | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/app/bot.php b/app/bot.php index 6d2b52f..363067e 100644 --- a/app/bot.php +++ b/app/bot.php @@ -37,20 +37,8 @@ class Bot 'xray', ]; $this->reg = '~' . implode('|', [ - 'GET /ws HTTP', - 'GET /adguard/(?:.+)? HTTP', - 'GET /webapp(?:.+)? HTTP', - 'GET /pac(?:.+)? HTTP', - 'GET \.well-known(?:.+)? HTTP', - 'GET /v2ray(?:.+)? HTTP', - 'GET /dns-query(?:.+)? HTTP', 'GET / HTTP', - 'GET /tlgrm(?:.+)? HTTP', - 'GET /jsoneditor.min.css HTTP', - 'GET /jsoneditor.min.js HTTP', - 'GET /jquery-3.7.1.min.js HTTP', - 'GET /img/jsoneditor-icons.svg HTTP', - 'GET /favicon.ico HTTP', + preg_quote($this->getHashBot()) ]) . '~'; }