diff --git a/v2rayN/ServiceLib/Services/CoreConfig/Singbox/SingboxOutboundService.cs b/v2rayN/ServiceLib/Services/CoreConfig/Singbox/SingboxOutboundService.cs index 4d4bc04e..faa27671 100644 --- a/v2rayN/ServiceLib/Services/CoreConfig/Singbox/SingboxOutboundService.cs +++ b/v2rayN/ServiceLib/Services/CoreConfig/Singbox/SingboxOutboundService.cs @@ -573,6 +573,11 @@ public partial class CoreConfigSingboxService var node = nodes[i]; var currentTag = $"{baseTagName}-{i + 1}"; + if (nodes.Count == 1) + { + currentTag = baseTagName; + } + if (node.ConfigType.IsGroupType()) { var childProfiles = new CoreConfigSingboxService(context with { Node = node, }).BuildGroupProxyOutbounds(currentTag); diff --git a/v2rayN/ServiceLib/Services/CoreConfig/V2ray/V2rayOutboundService.cs b/v2rayN/ServiceLib/Services/CoreConfig/V2ray/V2rayOutboundService.cs index 853ada7f..7061abdb 100644 --- a/v2rayN/ServiceLib/Services/CoreConfig/V2ray/V2rayOutboundService.cs +++ b/v2rayN/ServiceLib/Services/CoreConfig/V2ray/V2rayOutboundService.cs @@ -690,6 +690,11 @@ public partial class CoreConfigV2rayService var node = nodes[i]; var currentTag = $"{baseTagName}-{i + 1}"; + if (nodes.Count == 1) + { + currentTag = baseTagName; + } + if (node.ConfigType.IsGroupType()) { var childProfiles = new CoreConfigV2rayService(context with { Node = node, }).BuildGroupProxyOutbounds(currentTag);