From f92b484011322e2e457198c05e01ede9624b50ae Mon Sep 17 00:00:00 2001 From: mercury Date: Sun, 2 Feb 2025 11:52:02 +0400 Subject: [PATCH] Revert "fix singbox template" This reverts commit 86261e6b76b4b0bf75a818558ca7c31f6e355451. --- app/bot.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/bot.php b/app/bot.php index 8d8bc06..af65a4e 100644 --- a/app/bot.php +++ b/app/bot.php @@ -6324,11 +6324,11 @@ DNS-over-HTTPS with IP: $c['route'] = $this->addRuleSet($c['route']); $c['route'] = $this->createRuleSet($c['route'], $uid, $domain); if (!empty($c['route']['rules'])) { - /* foreach ($c['route']['rules'] as $k => $v) { + foreach ($c['route']['rules'] as $k => $v) { if (count($v) < 2) { unset($c['route']['rules'][$k]); } - } */ + } $c['route']['rules'] = array_values($c['route']['rules']); } break;