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

ReactJS + Custom fonts + webfrontloader => MIME type error #446

Open
sjb3 opened this issue Aug 27, 2021 · 2 comments
Open

ReactJS + Custom fonts + webfrontloader => MIME type error #446

sjb3 opened this issue Aug 27, 2021 · 2 comments

Comments

@sjb3
Copy link

sjb3 commented Aug 27, 2021

Hi,

I have a quick question using custom fonts with webfontloader.
After setting @font-face in src/index.css and installed Webfont and loaded in src/index.js
It worked fine in local machine. however, it went through the build pipeline and on my dev server,
it throws error
'''
MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
'''
Is there way that i bypass the build process errors?

Please help!

@starkiller17
Copy link

Hi,

Did you found something to avoid MIME type error?

@bodyan359
Copy link

up

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