dockerfiles

This commit is contained in:
Marco
2024-07-28 19:21:51 +01:00
parent 60489fa334
commit f88eb65384
6 changed files with 40 additions and 14 deletions

View File

@@ -10,11 +10,9 @@ builder.Services.AddSwaggerGen();
var app = builder.Build();
// Configure the HTTP request pipeline.
if (app.Environment.IsDevelopment())
{
app.UseSwagger();
app.UseSwaggerUI();
}
app.UseSwagger();
app.UseSwaggerUI();
app.UseHttpsRedirection();