feat: adds initial health check
This commit is contained in:
@@ -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();
|
||||
Reference in New Issue
Block a user