Fix sing-box selector generation for dynamic group tags (#9015)

This commit is contained in:
nirvanalinlei
2026-03-30 20:12:36 +08:00
committed by GitHub
parent 01c85adedf
commit 695a073cd6
@@ -22,7 +22,7 @@ public partial class CoreConfigSingboxService
}
if (withSelector)
{
var proxyTags = proxyOutboundList.Where(n => n.tag.StartsWith(Global.ProxyTag)).Select(n => n.tag).ToList();
var proxyTags = proxyOutboundList.Where(n => n.tag.StartsWith(baseTagName)).Select(n => n.tag).ToList();
if (proxyTags.Count > 1)
{
proxyOutboundList.InsertRange(0, BuildSelectorOutbounds(proxyTags, baseTagName));