Skip to content

Commit

Permalink
Merge pull request #50 from wemogy/fix/health-checks-endpoint
Browse files Browse the repository at this point in the history
Added health checks endpoint to UseDefaultEndpoints
  • Loading branch information
SebastianKuesters authored Dec 4, 2023
2 parents 629c5b3 + 6ab3f9d commit 9be18af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Wemogy.AspNet/Startup/StartupExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ public static void UseDefaultEndpoints(this IApplicationBuilder applicationBuild
applicationBuilder.UseEndpoints(endpoints =>
{
endpoints.MapControllers();
endpoints.MapHealthChecks("/healthz");
});
}

Expand Down

0 comments on commit 9be18af

Please sign in to comment.