From 1fdc2e02fe34ccadb8a7f0a672dc9c29066e61d2 Mon Sep 17 00:00:00 2001 From: schangxiang@126.com <schangxiang@126.com> Date: 周三, 02 4月 2025 17:49:07 +0800 Subject: [PATCH] 222 --- Api/Program.cs | 3 ++- Api/Properties/launchSettings.json | 4 ++-- Api/.config/dotnet-tools.json | 5 +++++ 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Api/.config/dotnet-tools.json b/Api/.config/dotnet-tools.json new file mode 100644 index 0000000..b0e38ab --- /dev/null +++ b/Api/.config/dotnet-tools.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "isRoot": true, + "tools": {} +} \ No newline at end of file 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(); diff --git a/Api/Properties/launchSettings.json b/Api/Properties/launchSettings.json index 434fc8f..2363ebb 100644 --- a/Api/Properties/launchSettings.json +++ b/Api/Properties/launchSettings.json @@ -4,8 +4,8 @@ "windowsAuthentication": false, "anonymousAuthentication": true, "iisExpress": { - "applicationUrl": "http://localhost:63423", - "sslPort": 44321 + "applicationUrl": "http://localhost:5006", + "sslPort": 5006 } }, "profiles": { -- Gitblit v1.9.3