MIME type warning in chrome for png images

后端 未结 6 1913
栀梦
栀梦 2020-12-23 08:50

Just ran my site in chrome and suprisingly it comes up with this warning for each of my .png images:

Resource interpreted as image but transferred with MIME          


        
6条回答
  •  南笙
    南笙 (楼主)
    2020-12-23 09:12

    I added types like this in .htaccess (AddType image/type extention) i.e.

    AddType image/png cur
    AddType image/svg+xml svg svgz
    

提交回复
热议问题