Skip to content

Commit

Permalink
Api always uses swagger UI
Browse files Browse the repository at this point in the history
  • Loading branch information
RieBi committed Jul 28, 2024
1 parent 364a53b commit 5dd1b7a
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Api/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,8 @@

var app = builder.Build();

// Configure the HTTP request pipeline.
if (app.Environment.IsDevelopment())
{
app.UseSwagger();
app.UseSwaggerUI();
}
app.UseSwagger();
app.UseSwaggerUI();

app.UseHttpsRedirection();

Expand Down

0 comments on commit 5dd1b7a

Please sign in to comment.