2dust 2025-07-14 16:32:10 +08:00
parent 30cd033b42
commit 26fe9c63a3
2 changed files with 2 additions and 2 deletions

View File

@ -1369,7 +1369,7 @@ public class CoreConfigSingboxService
private async Task<string?> GenRoutingUserRuleOutbound(string outboundTag, SingboxConfig singboxConfig) private async Task<string?> GenRoutingUserRuleOutbound(string outboundTag, SingboxConfig singboxConfig)
{ {
if (outboundTag is Global.ProxyTag or Global.ProxyTag or Global.BlockTag) if (outboundTag is Global.ProxyTag or Global.DirectTag or Global.BlockTag)
{ {
return outboundTag; return outboundTag;
} }

View File

@ -631,7 +631,7 @@ public class CoreConfigV2rayService
private async Task<string?> GenRoutingUserRuleOutbound(string outboundTag, V2rayConfig v2rayConfig) private async Task<string?> GenRoutingUserRuleOutbound(string outboundTag, V2rayConfig v2rayConfig)
{ {
if (outboundTag is Global.ProxyTag or Global.ProxyTag or Global.BlockTag) if (outboundTag is Global.ProxyTag or Global.DirectTag or Global.BlockTag)
{ {
return outboundTag; return outboundTag;
} }