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
|
// Add services for Minimal APIs
|
||||||
builder.Services.AddEndpointsApiExplorer();
|
builder.Services.AddEndpointsApiExplorer();
|
||||||
builder.Services.AddSwaggerGen();
|
builder.Services.AddSwaggerGen();
|
||||||
|
|
@ -146,7 +147,7 @@ try
|
||||||
|
|
||||||
// Use Health Checks
|
// Use Health Checks
|
||||||
app.MapHealthChecks("/health");
|
app.MapHealthChecks("/health");
|
||||||
|
|
||||||
// Map Auth endpoints
|
// Map Auth endpoints
|
||||||
app.MapControllerRoute(
|
app.MapControllerRoute(
|
||||||
name: "api",
|
name: "api",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue