Skip to content
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

Failed to decode downloaded font #11

Closed
balkarov opened this issue Oct 20, 2017 · 3 comments
Closed

Failed to decode downloaded font #11

balkarov opened this issue Oct 20, 2017 · 3 comments

Comments

@balkarov
Copy link

Hello.
Thank you for your library.

When I use your middleware I get error for loading fonts

Failed to decode downloaded font: http://localhost:12496/bundle/d0c6e2dcac826fe1c798bf6a4986b0f2.woff
OTS parsing error: incorrect file size in WOFF header

You can try use font-awesome in webpack

PS: Without middleware all works

@m-ermolaev
Copy link

@balkarov, hey, yeah! I have the same issue...

41517a7fb34af7ce505f7c9bcdfb7dea

@balkarov
Copy link
Author

balkarov commented Oct 20, 2017

@lainiwakurafan I solved my problem.
I just change to native library 😄
UseWebpackDevMiddleware from Microsoft.AspNetCore.SpaServices

I advise use it. More information on github AspNetCore.SpaServices

@frankwallis
Copy link
Owner

Thank you for raising this, it should now be fixed in 2.1.0. It will also require upgrading the webpack-aspnet-middleware npm package to 2.1.0 as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants