enable swagger for prod

This commit is contained in:
Kirill Zotkin 2025-04-06 15:39:39 +03:00
parent 4df4437487
commit 2c50dc75eb
2 changed files with 4 additions and 5 deletions

View File

@ -64,6 +64,8 @@ dotnet run --project DevOpsProject/DevOpsProject.HiveMind.API.csproj
### Map Clinet
cd src/MapClient
npm install
npm run build
### Communiction Control

View File

@ -57,11 +57,8 @@ using (var scope = app.Services.CreateScope())
app.UseExceptionHandler();
// Configure the HTTP request pipeline.
if (app.Environment.IsDevelopment())
{
app.UseSwagger();
app.UseSwaggerUI();
}
app.UseCors(corsPolicyName);