Fix AioDNS rule config

This commit is contained in:
ChsBuffer
2021-05-27 22:32:14 +08:00
parent 9f809b4d27
commit 3678c98fec
2 changed files with 2 additions and 2 deletions

View File

@@ -211,7 +211,7 @@ namespace Netch.Forms
#region AioDNS
BindTextBox(AioDNSRulePathTextBox, _ => true, s => Global.Settings.AioDNS.RulePath = s, Global.Settings.AioDNS.RulePath);
BindTextBox(AioDNSRulePathTextBox, _ => true, s => { /*Global.Settings.AioDNS.RulePath = s;*/ }, Global.Settings.AioDNS.RulePath);
BindTextBox(ChinaDNSTextBox, _ => true, s => Global.Settings.AioDNS.ChinaDNS = s, Global.Settings.AioDNS.ChinaDNS);

View File

@@ -82,7 +82,7 @@ namespace Netch.Models
public ushort ListenPort { get; set; } = 53;
public string RulePath { get; set; } = "bin\\aiodns.conf";
public string RulePath { get; } = "bin\\aiodns.conf";
}
public class RedirectorConfig