This commit is contained in:
2025-06-16 19:25:43 -04:00
parent bde48cbe60
commit e64e676b14
2 changed files with 3 additions and 10 deletions

View File

@@ -16,18 +16,11 @@ namespace Astrocore.Api
var app = builder.Build();
// Configure the HTTP request pipeline.
if (app.Environment.IsDevelopment())
{
app.UseSwagger();
app.UseSwaggerUI();
}
app.UseSwagger();
app.UseSwaggerUI();
app.UseHttpsRedirection();
app.UseAuthorization();
app.MapControllers();
app.Run();
}
}