diff --git a/Directory.Build.props b/Directory.Build.props index 1d53346..c3d223e 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,6 +1,6 @@ - 2.0.0-beta1 + 2.0.0-beta2 enable github加速神器 https://github.com/dotnetcore/FastGithub diff --git a/FastGithub.HttpServer/HttpReverseProxyMiddleware.cs b/FastGithub.HttpServer/HttpReverseProxyMiddleware.cs index 20c7048..c0762f5 100644 --- a/FastGithub.HttpServer/HttpReverseProxyMiddleware.cs +++ b/FastGithub.HttpServer/HttpReverseProxyMiddleware.cs @@ -79,7 +79,7 @@ namespace FastGithub.HttpServer var baseUri = new Uri(defaultValue); var result = new Uri(baseUri, destination).ToString(); - this.logger.LogInformation($"[{defaultValue} <-> {result}]"); + this.logger.LogInformation($"{defaultValue} => {result}"); return result; } diff --git a/FastGithub/AppHostedService.cs b/FastGithub/AppHostedService.cs index 8cac832..37ba123 100644 --- a/FastGithub/AppHostedService.cs +++ b/FastGithub/AppHostedService.cs @@ -35,7 +35,7 @@ namespace FastGithub public override Task StartAsync(CancellationToken cancellationToken) { var version = ProductionVersion.Current; - this.logger.LogInformation($"{nameof(FastGithub)}启动完成,当前版本为v{version},访问https://github.com/dotnetcore/FastGithub关注新版本"); + this.logger.LogInformation($"{nameof(FastGithub)}启动完成,当前版本为v{version},访问 https://github.com/dotnetcore/fastgithub 关注新版本"); return base.StartAsync(cancellationToken); } @@ -62,7 +62,7 @@ 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"); + this.logger.LogWarning($"请设置系统自动代理为http://127.0.0.1:38457,或手动代理http/https为127.0.0.1:38457"); } } } diff --git a/FastGithub/Startup.cs b/FastGithub/Startup.cs index c5a4b1b..9698b93 100644 --- a/FastGithub/Startup.cs +++ b/FastGithub/Startup.cs @@ -64,7 +64,7 @@ namespace FastGithub appBuilder.UseRouting(); appBuilder.UseEndpoints(endpoint => endpoint.MapFallback(context => { - context.Response.Redirect("https://github.com/dotnetcore/FastGithub"); + context.Response.Redirect("https://github.com/dotnetcore/fastgithub"); return Task.CompletedTask; })); }); diff --git a/README.html b/README.html index 82f117d..e725be2 100644 --- a/README.html +++ b/README.html @@ -379,14 +379,14 @@ code {

2.2 linux-x64

2.3 macOS-x64

3 证书验证

3.1 git

diff --git a/README.md b/README.md index 45c9266..5c481ab 100644 --- a/README.md +++ b/README.md @@ -12,13 +12,13 @@ github加速神器,解决github打不开、用户头像无法加载、releases #### 2.2 linux-x64 * 执行`sudo ./fastgithub` -* 手工安装cacert/fastgithub.cer到受信任的根证书颁发机构 -* 手工设置系统自动代理为`http://127.0.0.1:38457`,或http/https手动代理为`127.0.0.1:38457` +* 安装cacert/fastgithub.cer到受信任的根证书颁发机构 +* 设置系统自动代理为`http://127.0.0.1:38457`,或手动代理http/https为`127.0.0.1:38457` #### 2.3 macOS-x64 * 双击运行fastgithub程序 -* 手工安装cacert/fastgithub.cer并设置信任 -* 手工设置系统自动代理为`http://127.0.0.1:38457`,或http/https手动代理为`127.0.0.1:38457` +* 安装cacert/fastgithub.cer并设置信任 +* 设置系统自动代理为`http://127.0.0.1:38457`,或手动代理http/https为`127.0.0.1:38457` ### 3 证书验证