修改swagger 展示
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-03-26 14:22:26 +08:00
parent 8239061a84
commit 2f57238f66
+1 -1
View File
@@ -39,7 +39,7 @@ var enviromentName = config["ASPNETCORE_ENVIRONMENT"];
var openSwaggerStr = config["ASPNETCORE_OpenSwagger"];
var isOpenSwagger= openSwaggerStr == null&& openSwaggerStr?.ToLower()=="true";
var isOpenSwagger= openSwaggerStr == null|| openSwaggerStr?.ToLower()=="true";
if (string.IsNullOrWhiteSpace(enviromentName))