cancel
Showing results for 
Search instead for 
Did you mean: 

Mime type on product gallery while in default - Magento 2.2.6

Mime type on product gallery while in default - Magento 2.2.6

I am having an issue with the gallery.css on my magento project on the product full page. It works fine when I put Magento on Production mode but once I put it on default mode the gallery.css gives me;

 

because its MIME type ('text/html') is not a supported stylesheet MIME type

 

However while in production this error goes away and everything is fine with the product gallery.

 

Does anyone have an idea of what this could be ? And why it happened in the first place?

 

Thanks in advance,

Matt Finlay