-
Notifications
You must be signed in to change notification settings - Fork 649
-
Notifications
You must be signed in to change notification settings - Fork 649
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
CSS MIME type error #319
Comments
Any update on this? Thanks! |
The Web Font Loader never sets the mime type of CSS files, so I think this is most likely related to a setting on your server. |
I know this is old but it happens when the url is incorrect and if you click on the font's src, you will get an html 404 page! |
The loader should set it though, Chrome is going to block it otherwise in the future |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, using this package inside a Meteor wrapper (https://github.com/Siyfion/webfontloader) I'm receiving the following error.
(Safari)
Did not parse stylesheet at 'http://localhost:3000/bgrotesque.css' because non CSS MIME types are not allowed in strict mode.
(Chrome)
siyfion_webfontloader.js?hash=ca823c6…:17 Resource interpreted as Stylesheet but transferred with MIME type text/html: "http://localhost:3000/bgrotesque.css".
Any advice?
Thanks,
Kris
The text was updated successfully, but these errors were encountered: