diff --git a/VoucherManagementACL/Startup.cs b/VoucherManagementACL/Startup.cs index 69c9954..d902797 100644 --- a/VoucherManagementACL/Startup.cs +++ b/VoucherManagementACL/Startup.cs @@ -115,6 +115,11 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env, ILoggerF Predicate = _ => true, ResponseWriter = Shared.HealthChecks.HealthCheckMiddleware.WriteResponse }); + endpoints.MapHealthChecks("healthui", new HealthCheckOptions() + { + Predicate = _ => true, + ResponseWriter = Shared.HealthChecks.HealthCheckMiddleware.WriteResponse + }); }); app.UseSwagger();