Add rule type selection to routing rules (#8007)

* Add rule type selection to routing rules

* Use enum

---------

Co-authored-by: 2dust <31833384+2dust@users.noreply.github.com>
This commit is contained in:
DHR60
2025-10-08 10:40:26 +08:00
committed by GitHub
parent 64c7fea2bc
commit 31b5b4ca0c
11 changed files with 82 additions and 15 deletions
@@ -142,6 +142,11 @@ public partial class CoreConfigV2rayService
continue;
}
if (item.RuleType == ERuleType.Routing)
{
continue;
}
foreach (var domain in item.Domain)
{
if (domain.StartsWith('#'))