diff --git a/src/FastGateway/Program.cs b/src/FastGateway/Program.cs index b967c5e..375638a 100644 --- a/src/FastGateway/Program.cs +++ b/src/FastGateway/Program.cs @@ -22,7 +22,7 @@ public static class Program // 发 prior-knowledge 前言,否则会静默降到 HTTP/1.1,每个并发请求占一条 TCP。 AppContext.SetSwitch("System.Net.Http.SocketsHttpHandler.Http2UnencryptedSupport", true); - var builder = WebApplication.CreateSlimBuilder(new WebApplicationOptions) + var builder = WebApplication.CreateSlimBuilder(new WebApplicationOptions { ContentRootPath = AppContext.BaseDirectory, Args = args