From d33faf9454469587f4d10a8acfc8f84b2c40b4e9 Mon Sep 17 00:00:00 2001 From: schangxiang@126.com <schangxiang@126.com> Date: 周三, 11 6月 2025 17:03:00 +0800 Subject: [PATCH] 22 --- Api/Program.cs | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/Api/Program.cs b/Api/Program.cs index 230d0a4..1f0a2d8 100644 --- a/Api/Program.cs +++ b/Api/Program.cs @@ -17,7 +17,8 @@ var app = builder.Build(); // Configure the HTTP request pipeline. - if (app.Environment.IsDevelopment()) + if (true) + //if (app.Environment.IsDevelopment()) { app.UseSwagger(); app.UseSwaggerUI(); -- Gitblit v1.9.3