Fix health check requiring authentication
This commit is contained in:
parent
fdfd7c5508
commit
51485d0473
1 changed files with 2 additions and 1 deletions
|
|
@ -112,5 +112,6 @@ app.UseAuthorization();
|
|||
|
||||
app.MapControllers();
|
||||
|
||||
app.MapHealthChecks("/health");
|
||||
app.MapHealthChecks("/health")
|
||||
.AllowAnonymous();
|
||||
app.Run();
|
||||
Loading…
Add table
Add a link
Reference in a new issue