mirror of
https://github.com/2dust/v2rayN.git
synced 2025-05-11 18:58:20 +00:00
parent
5a0fdd971a
commit
e590547b30
1 changed files with 2 additions and 2 deletions
|
@ -1278,12 +1278,12 @@ public class CoreConfigSingboxService
|
|||
detour = Global.DirectTag,
|
||||
strategy = string.IsNullOrEmpty(dNSItem?.DomainStrategy4Freedom) ? null : dNSItem?.DomainStrategy4Freedom,
|
||||
});
|
||||
dns4Sbox.rules.Add(new()
|
||||
dns4Sbox.rules.Insert(0, new()
|
||||
{
|
||||
server = tag,
|
||||
clash_mode = ERuleMode.Direct.ToString()
|
||||
});
|
||||
dns4Sbox.rules.Add(new()
|
||||
dns4Sbox.rules.Insert(0, new()
|
||||
{
|
||||
server = dns4Sbox.servers.Where(t => t.detour == Global.ProxyTag).Select(t => t.tag).FirstOrDefault() ?? "remote",
|
||||
clash_mode = ERuleMode.Global.ToString()
|
||||
|
|
Loading…
Reference in a new issue