前端踩坑Resource interpreted as Stylesheet but transferred with MIME type text/html

項目結構: 問題描述: 1,跑在本地tomcat上時,用IE,FireFox,Chrome訪問都沒問題,CSS能加載且有效果 2,打包到雲端Tomcat時,用IE訪問正常,用FireFox和Chrome訪問時能加載CSS文件,但是沒有效果,報錯如下:Resource interpreted as Stylesheet but transferred with MIME type text/html
相關文章
相關標籤/搜索