Skip to content

Commit

Permalink
Update api to always use swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
albyoo committed Feb 9, 2024
1 parent e128b2a commit 43673a4
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Source/HtmlRenderer.Demo.Web.Api/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,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 43673a4

Please sign in to comment.