【Bug Summary】Resource interpreted as Script but transferred with MIME type text/html

昨天新開一個雲服務器,把網站部署到IIS上,發現css和js都沒有正常顯示,檢查後發現給出了這樣一個警告: Resource interpreted as Script but transferred with MIME type text/html 目前問題已解決,方法如下: 將iis中上述的靜態內容打勾即可。 方法可能不適用於其他人,僅提供一個解決思路。如果覺得有用,請點個贊,謝謝!
相關文章
相關標籤/搜索