codeAdrian / gatsby-omni-font-loader

Font loader optimized for maximum performance. Removes render-blocking font resources and loads them asynchronusly. Handle FOUT & FOUC with font loading status watcher. Supports both local-hosted fonts and web fonts.
MIT License
106 stars 7 forks source link

Setting MIME type? #18

Open jedifunk opened 3 years ago

jedifunk commented 3 years ago

Running into an issue where the browser is giving this error.

The stylesheet http://localhost:8000/ParalucentCondensedHeavy/paralucentCondensedHeavy.css was not loaded because its MIME type, “text/html”, is not “text/css”.

Does the plugin handle MIME type setting?

RectoVersoDev commented 3 years ago

@jedifunk Hi, did you resolve this? I'm facing the same issue

Edit : There was a typo in the path of my fonts.css file, problem solved. ✅ Not related to MIME type

LpmRaven commented 3 years ago

Same issue. +1