From ab9ea4594384b9a25e43bdf991dc5b1c9471e5aa Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周五, 04 4月 2025 15:37:18 +0800
Subject: [PATCH] 认为是验证成功,不要并发导致读取授权文件失败 去掉

---
 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