• Resolved hatimsetti

    (@hatimsetti)


    hello,

    I have some errors :

    Refused to apply style from ‘***/assets/css/custom-style.css’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.

    Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of “text/css”. Strict MIME type checking is enforced for module scripts per HTML spec.

    I think the SGO did some thing on the files

    Thak you for your help

    • This topic was modified 2 years, 1 month ago by hatimsetti.
Viewing 1 replies (of 1 total)
  • Plugin Support Dimitar Petrov

    (@demiro)

    Hello @hatimsetti,

    According to the error the issue is caused by the MIME type header, which seems to be incorrectly modified. We were unable to replicate the issue on our test environments. Our plugin does not change that header so the issue could be caused by different plugin, theme or specific server configuration. You can deactivate the plugins, switch themes and test again. If the application is hosted on SiteGround servers, you can open a new ticket on our end so we can perform further investigation.

    Best Regards,
    Dimitar Petrov

Viewing 1 replies (of 1 total)
  • The topic ‘MIME type (‘text/html’) is not a supported stylesheet MIME type’ is closed to new replies.