diff --git a/FastGithub.ReverseProxy/ReverseProxyMiddleware.cs b/FastGithub.ReverseProxy/ReverseProxyMiddleware.cs index 1c1cb21..413d258 100644 --- a/FastGithub.ReverseProxy/ReverseProxyMiddleware.cs +++ b/FastGithub.ReverseProxy/ReverseProxyMiddleware.cs @@ -80,7 +80,7 @@ namespace FastGithub.ReverseProxy 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/appsettings.json b/FastGithub/appsettings.json index 696de65..2d458af 100644 --- a/FastGithub/appsettings.json +++ b/FastGithub/appsettings.json @@ -66,6 +66,16 @@ "ContentType": "text/plain;charset=utf-8", "ContentValue": "阻断的请求" } + }, + "lh*.googleusercontent.com": { + "Response": { + "StatusCode": 404 + } + }, + "www.google.com": { + "Response": { + "StatusCode": 404 + } } } },