-
Notifications
You must be signed in to change notification settings - Fork 798
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Icons missing after upgrading to v8.0.0 #2130
Comments
me too. |
Same issue here. I was using version 6.0.5 and everything was ok, after migrating to version 8.0.0 the icons are missing |
Just running the HealthChecks.UI.Sample gives the same reproduction. Found that the upgrade of css-loader from 4.3.0 to 6.8.1 caused the issue in this PR: #2051 Looks like that the font was inlined in version 4.3.0 till 6.7.4 and published as a separate file the most recent versions of css-loader 6.8.0 and upwards. I'm not a frontend developer, so have no clue what would be the best way to fix this. Rolling back to version 6.7.4 of css-loader sounds like only a temporary solution. Anyone with a knowledge around webpack / css-loader who can fix this the correct way? |
Same issue facing. |
Can sb fix it and release new version 8.0.1? |
I've discovered a temporary solution that might be helpful. To address the issue, you can activate static files handling in your application. Specifically, you'll need to include the file builder.WebHost.UseWebRoot("wwwroot");
var app = builder.Build();
// This will enable the serving of static files from the specified directory
app.UseStaticFiles(); |
I got it from here https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks/blob/master/src/HealthChecks.UI/assets/fonts/material.woff2 Just rename it to |
And when I I have REST API application? |
The solution I proposed works just fine with REST API app. |
Here, I am still using "startup.cs" from the legacy .net version, so I just created the folders put the file there set the build action to "content" and copy to output to "copy always" and added the "app.UseStaticFiles();" inside the "Configure(IApplicationBuilder app)". Now, all icons working again. |
Same error here. |
Same here v 8.0.0 |
same issue |
I am having this issue too |
Me too... |
Please have a look at stackoverflow: Solution with custom.css-file So the above mentioned woff-file is not needed. |
@code1line This is a nice temporary solution, but this still should be fixed. |
Still an issue with v8.0.1. I used @dougcunha woff file workaround. |
fixed in #2217 |
…NET 8 due to the following issues: - [Icons missing after upgrading to v8.0.0](Xabaril/AspNetCore.Diagnostics.HealthChecks#2130). - [[UI] Relative Address for HealthCheckEndpoint with Kestrel at http://0.0.0.0:0](https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks/issues/410).
closed this as completed via #2217 |
What happened: Icons are missing
What you expected to happen: See the icons
How to reproduce it (as minimally and precisely as possible): I Upgraded to v8.0.0.0
Anything else we need to know?: Please see attached screenshot. Am I missing something on setup, or is this a bug on the newest version? On the previous package, everything was displaying correctly.
Environment:
The text was updated successfully, but these errors were encountered: