We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5f5a02 commit e6d84e1Copy full SHA for e6d84e1
BervProject.WebApi.Boilerplate/Program.cs
@@ -55,7 +55,6 @@
55
});
56
builder.Services.AddDbContext<BoilerplateDbContext>(options => options.UseNpgsql(builder.Configuration.GetConnectionString("BoilerplateConnectionString")));
57
58
-builder.Services.AddHealthChecks();
59
builder.Services.AddControllers();
60
builder.Services.AddApiVersioning();
61
builder.Services.AddSwaggerGen(options =>
@@ -102,8 +101,6 @@
102
101
103
app.UseAuthorization();
104
105
-app.MapHealthChecks("/healthz");
106
-
107
app.UseSwagger(c =>
108
{
109
c.RouteTemplate = "api/docs/{documentName}/swagger.json";
0 commit comments