AspNetCore.Diagnostics.HealthChecks
AspNetCore.Diagnostics.HealthChecks copied to clipboard
ui files not found
hi everyone,
i have an web api with healthcheck.ui (5.0.1) monitoring. this web api works fine in localhost. when i publish (windows server), healcheck UI doesnt works fine. the resourse js works, but the interface not works. i think than seams not found some´s js and css files C# peace of code endpoints.MapHealthChecksUI(options => { options.UIPath = "/api/hc-ui"; options.ResourcesPath = "/ui/resources";
options.UseRelativeApiPath = false;
options.UseRelativeResourcesPath = false;
options.UseRelativeWebhookPath = false;
});
--->>>>> ERROR UI ui/resources/vendors-dll.js net::ERR_ABORTED 404 (Not Found) ui/resources/healthchecksui-min.css 404 (Not Found) ui/resources/healthchecks-bundle.js net::ERR_ABORTED 404 (Not Found) ui/resources/vendors-dll.js net::ERR_ABORTED 404 (Not Found) ui/resources/healthchecks-bundle.js net::ERR_ABORTED 404 (Not Found)
I have a similar issue, I am trying to use a logo that is stored locally, but I also get a 404 error. Can someone advise either what path I should use, or which settings control the location of required ui files.
Same issue for me :( The file ui/resources/vendors-dll.js is not generated, and return an error 404.
I'm using the version 6.0.4.
healthchecks-bundle.js and healthchecksui-min.css are generated.
Same. This is still an issue. How can I reference a local image, from the code?