From 2cc6644ccb5dec95d4124fedf87d79bb9017df71 Mon Sep 17 00:00:00 2001 From: token <61819790+239573049@users.noreply.github.com> Date: Thu, 13 Aug 2026 20:39:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20Program.cs=20?= =?UTF-8?q?=E5=AF=B9=E8=B1=A1=E5=88=9D=E5=A7=8B=E5=8C=96=E5=99=A8=E5=A4=9A?= =?UTF-8?q?=E4=BD=99=E6=8B=AC=E5=8F=B7=E5=AF=BC=E8=87=B4=E7=9A=84=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CreateSlimBuilder 的 WebApplicationOptions 被多写了一个 ),CI Native AOT 发布因此中断。 Co-authored-by: Cursor --- src/FastGateway/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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