Skip to content

Commit

Permalink
Update Health check
Browse files Browse the repository at this point in the history
(cherry picked from commit 9c0c7e9)
  • Loading branch information
bcgov-hl authored and weskubo-cgi committed Oct 16, 2023
1 parent 856ec7e commit b14f18e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OFM.Infrastructure.WebAPI/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
{
return TypedResults.Ok("I am healthy!");

}).WithTags("Environment").Produces(200).ProducesProblem(404);
}).WithTags("Environment").Produces(200).ProducesProblem(404).AllowAnonymous();

app.MapHealthChecks("/api/health");

Expand Down

0 comments on commit b14f18e

Please sign in to comment.