发新话题
打印

Resource interpreted as Stylesheet but transferred with MIME type text/html

Resource interpreted as Stylesheet but transferred with MIME type text/html

本地运行正常的项目,布置到测试服务器上时页面样式加在不出来,google调试报错:Resource interpreted as Stylesheet but transferred with MIME type text/html      ,项目环境,Nginx+apache。经排查,原来是Nginx在转发时对请求做了类型强转导致,运维修改了nginx配置后,恢复正常。

TOP

发新话题