fix singbox template

This commit is contained in:
mercury
2025-01-31 12:30:45 +04:00
parent d816582e6f
commit 86261e6b76
+2 -2
View File
@@ -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;