# Refused to apply style because its MIME type is not supported

**URL:** <https://discourse.gohugo.io/t/refused-to-apply-style-because-its-mime-type-is-not-supported/19606>\
**Category:** support\
**Created:** [July 11, 2019, 11:32pm UTC](https://discourse.gohugo.io/t/refused-to-apply-style-because-its-mime-type-is-not-supported/19606 "2019-07-11T23:32:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bdubn74](https://avatars.discourse-cdn.com/v4/letter/b/e56c9b/32.png) [@bdubn74](https://discourse.gohugo.io/u/bdubn74)\
**Post date:** [July 11, 2019, 11:32pm UTC](https://discourse.gohugo.io/t/refused-to-apply-style-because-its-mime-type-is-not-supported/19606/1 "2019-07-11T23:32:19Z")

</div>

I am trying to use syndicate content to my site from a partner. They give me a javascript snippet to pull their content. It is working from the aspect of pulling content. However, one of their CSS is failing to be applied and therefore the content does not look as it should from a styling perspective.

Full error in web browser console:

Refused to apply style from ‘[http://localhost:1313/blog/test2/FAQLandingPage.css](http://localhost:1313/blog/test2/FAQLandingPage.css)’ because its MIME type (‘text/plain’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.

I am not storing this CSS file anywhere locally. It comes via javascript through syndication from the partner. Hugo server does not display any errors.

Does anyone have any ideas or know if there is a way to disable strict MIME checking in Hugo even if it is not recommended other than for test/debug purposes?

---

<div class="post-metadata">

**Author:** ![maiki](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/maiki/32/16384_2.png) [@maiki](https://discourse.gohugo.io/u/maiki)\
**Post date:** [July 11, 2019, 11:48pm UTC](https://discourse.gohugo.io/t/refused-to-apply-style-because-its-mime-type-is-not-supported/19606/2 "2019-07-11T23:48:06Z")

</div>

Please read the requesting help guidelines and edit your post with more information.

---

<div class="post-metadata">

**Author:** ![bdubn74](https://avatars.discourse-cdn.com/v4/letter/b/e56c9b/32.png) [@bdubn74](https://discourse.gohugo.io/u/bdubn74)\
**Post date:** [July 12, 2019, 12:49am UTC](https://discourse.gohugo.io/t/refused-to-apply-style-because-its-mime-type-is-not-supported/19606/3 "2019-07-12T00:49:19Z")

</div>

Please delete or close. Further along in troubleshooting and found it is not Hugo issue. It is something with material-kit. Thanks!

---

<div class="post-metadata">

**Author:** ![zwbetz](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/zwbetz/32/16088_2.png) [@zwbetz](https://discourse.gohugo.io/u/zwbetz)\
**Post date:** [July 12, 2019, 2:20am UTC](https://discourse.gohugo.io/t/refused-to-apply-style-because-its-mime-type-is-not-supported/19606/4 "2019-07-12T02:20:46Z")

</div>


