diff options
Diffstat (limited to 'RhSolutions.SkuParser.Api/Program.cs')
-rw-r--r-- | RhSolutions.SkuParser.Api/Program.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/RhSolutions.SkuParser.Api/Program.cs b/RhSolutions.SkuParser.Api/Program.cs index 731344a..9909765 100644 --- a/RhSolutions.SkuParser.Api/Program.cs +++ b/RhSolutions.SkuParser.Api/Program.cs @@ -11,7 +11,9 @@ builder.Services .AddKeyedScoped<ISkuParser, CommonExcelParser>("application/vnd.ms-excel.sheet.macroenabled.12")
.AddKeyedScoped<ISkuParser, BsExcelParser>("BS");
builder.Services.AddControllers();
+builder.Services.AddHealthChecks();
var app = builder.Build();
app.MapControllers();
+app.MapHealthChecks("/healthy");
app.Run();
\ No newline at end of file |