From 2e357e58d4d5f991821415ac8ed411d5830d46c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=9B=BD=E4=BC=9F?= <366193849@qq.com> Date: Thu, 22 Jul 2021 13:46:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8nameof?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FastGithub.Dns.DnscryptProxy/DnscryptProxyHostedService.cs | 2 +- .../FastGithub.Dns.DnscryptProxy.csproj | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/FastGithub.Dns.DnscryptProxy/DnscryptProxyHostedService.cs b/FastGithub.Dns.DnscryptProxy/DnscryptProxyHostedService.cs index 6f48234..19fe7af 100644 --- a/FastGithub.Dns.DnscryptProxy/DnscryptProxyHostedService.cs +++ b/FastGithub.Dns.DnscryptProxy/DnscryptProxyHostedService.cs @@ -70,7 +70,7 @@ namespace FastGithub.Dns.DnscryptProxy } if (this.isStopped == false) { - this.logger.LogCritical($"{dnscryptProxyFile}已停止运行,{nameof(FastGithub)}将无法解析域名。你可以把配置文件的PureDns修改为其它可用的DNS以临时使用。"); + this.logger.LogCritical($"{dnscryptProxyFile}已停止运行,{nameof(FastGithub)}将无法解析域名。你可以把配置文件的{nameof(FastGithubOptions.PureDns)}修改为其它可用的DNS以临时使用。"); } } diff --git a/FastGithub.Dns.DnscryptProxy/FastGithub.Dns.DnscryptProxy.csproj b/FastGithub.Dns.DnscryptProxy/FastGithub.Dns.DnscryptProxy.csproj index cd49fe2..c8b98b2 100644 --- a/FastGithub.Dns.DnscryptProxy/FastGithub.Dns.DnscryptProxy.csproj +++ b/FastGithub.Dns.DnscryptProxy/FastGithub.Dns.DnscryptProxy.csproj @@ -8,6 +8,10 @@ + + + + PreserveNewest