This commit is contained in:
parent
858afde058
commit
c84ecc5248
1 changed files with 2 additions and 1 deletions
|
|
@ -90,6 +90,7 @@ try
|
|||
});
|
||||
});
|
||||
|
||||
builder.Services.AddControllers();
|
||||
// Add services for Minimal APIs
|
||||
builder.Services.AddEndpointsApiExplorer();
|
||||
builder.Services.AddSwaggerGen();
|
||||
|
|
@ -146,7 +147,7 @@ try
|
|||
|
||||
// Use Health Checks
|
||||
app.MapHealthChecks("/health");
|
||||
|
||||
|
||||
// Map Auth endpoints
|
||||
app.MapControllerRoute(
|
||||
name: "api",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue