Compare commits

..

1 commit

Author SHA1 Message Date
DHR60
ab052e179a
Merge e9a6411698 into b5800f7dfc 2026-02-09 02:19:42 +00:00
2 changed files with 3 additions and 3 deletions

View file

@ -413,8 +413,8 @@ public partial class CoreConfigSingboxService
} }
var tag = $"{node.IndexId}-{Global.ProxyTag}"; var tag = $"{node.IndexId}-{Global.ProxyTag}";
if (_coreConfig.outbounds.Any(o => o.tag.StartsWith(tag)) if (_coreConfig.outbounds.Any(o => o.tag == tag)
|| (_coreConfig.endpoints != null && _coreConfig.endpoints.Any(e => e.tag.StartsWith(tag)))) || (_coreConfig.endpoints != null && _coreConfig.endpoints.Any(e => e.tag == tag)))
{ {
return tag; return tag;
} }

View file

@ -165,7 +165,7 @@ public partial class CoreConfigV2rayService
} }
var tag = $"{node.IndexId}-{Global.ProxyTag}"; var tag = $"{node.IndexId}-{Global.ProxyTag}";
if (_coreConfig.outbounds.Any(p => p.tag.StartsWith(tag))) if (_coreConfig.outbounds.Any(p => p.tag == tag))
{ {
return tag; return tag;
} }