Skip to content

Commit

Permalink
fix(web-api): re-enable health checks
Browse files Browse the repository at this point in the history
  • Loading branch information
arealmaas committed Jan 14, 2025
1 parent 6265110 commit d60066e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Digdir.Domain.Dialogporten.WebApi/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,9 @@ static void BuildAndRun(string[] args)

var app = builder.Build();

app.MapAspNetHealthChecks()
.MapControllers();

app.UseHttpsRedirection()
.UseDefaultExceptionHandler()
.UseJwtSchemeSelector()
Expand Down

0 comments on commit d60066e

Please sign in to comment.