feat: adds initial health check

This commit is contained in:
henrik
2024-11-13 19:32:57 +01:00
parent 492061e043
commit a806d51a8a
4 changed files with 46 additions and 0 deletions

View File

@@ -23,6 +23,8 @@ builder.UseOrleans(silo =>
builder.Services.AddScoped<LinkGenerator>();
builder.Services.AddHealthChecks();
// Add services to the container.
builder.Services.AddRazorComponents()
.AddInteractiveServerComponents()
@@ -58,4 +60,6 @@ app.MapRazorComponents<App>()
.AddInteractiveWebAssemblyRenderMode()
.AddAdditionalAssemblies(typeof(Pushy.Client._Imports).Assembly);
app.MapHealthChecks("/healthz");
app.Run();