修復提示語
This commit is contained in:
parent
bd56241d54
commit
4cef9ed5e7
@ -20,8 +20,7 @@ namespace FastGithub.Dns
|
||||
/// host文件冲解决者
|
||||
/// </summary>
|
||||
/// <param name="fastGithubConfig"></param>
|
||||
public HostsConflictSolver(
|
||||
FastGithubConfig fastGithubConfig)
|
||||
public HostsConflictSolver(FastGithubConfig fastGithubConfig)
|
||||
{
|
||||
this.fastGithubConfig = fastGithubConfig;
|
||||
}
|
||||
|
||||
@ -119,7 +119,7 @@ namespace FastGithub.Dns
|
||||
var proxyServer = HttpClient.DefaultProxy.GetProxy(destination);
|
||||
if (proxyServer != null)
|
||||
{
|
||||
this.logger.LogError($"由于系统配置了{proxyServer}代理{domain},{nameof(FastGithub)}无法加速相关域名");
|
||||
this.logger.LogError($"由于系统配置了代理{proxyServer},{nameof(FastGithub)}无法加速{domain}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -62,7 +62,8 @@ namespace FastGithub
|
||||
await Task.Delay(TimeSpan.FromSeconds(1d), stoppingToken);
|
||||
if (await this.UseFastGithubProxyAsync() == false)
|
||||
{
|
||||
this.logger.LogWarning($"请设置系统自动代理为http://127.0.0.1:38457,或手动代理http/https为127.0.0.1:38457");
|
||||
var httpProxyPort = this.options.Value.HttpProxyPort;
|
||||
this.logger.LogWarning($"请设置系统自动代理为http://{IPAddress.Loopback}:{httpProxyPort},或手动代理http/https为{IPAddress.Loopback}:{httpProxyPort}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user