From 86261e6b76b4b0bf75a818558ca7c31f6e355451 Mon Sep 17 00:00:00 2001 From: mercury Date: Fri, 31 Jan 2025 12:30:45 +0400 Subject: [PATCH] fix singbox template --- app/bot.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/bot.php b/app/bot.php index b367e91..23e46ac 100644 --- a/app/bot.php +++ b/app/bot.php @@ -6322,11 +6322,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;