Removes direct clash_mode domain strategy

DHR60 2025-05-05 16:41:27 +08:00
parent a725ad80be
commit ab17487f89
1 changed files with 1 additions and 2 deletions

View File

@ -1678,8 +1678,7 @@ public class CoreConfigSingboxService
dns4Sbox.rules.Insert(0, new()
{
server = tag,
clash_mode = ERuleMode.Direct.ToString(),
strategy = string.IsNullOrEmpty(dNSItem?.DomainStrategy4Freedom) ? null : dNSItem?.DomainStrategy4Freedom
clash_mode = ERuleMode.Direct.ToString()
});
dns4Sbox.rules.Insert(0, new()
{