Resource interpreted as Stylesheet but transferred with MIME type text/html in ASP.NET IIS

后端 未结 6 1803
臣服心动
臣服心动 2020-12-08 15:16

i am having a login page when executed the page is stripped out of css.

I found out this message from from chrome debugger. I am using asp.net 2008.

6条回答
  •  执念已碎
    2020-12-08 16:03

    I had this using webpack-dev-server, it was because of a firewall issue blocking internet access. I initially didn't think it was internet related because I thought I bundled all of my css without depending on external sources. But after digging, I found another css file that was trying to load external fonts from fonts.gstatic.com, this along with my firewall, created my issue.

提交回复
热议问题