Resource interpreted as other but transferred with MIME type text/javascript?

前端 未结 7 1773
长情又很酷
长情又很酷 2021-02-01 03:46

I keep getting \"Resource interpreted as other but transferred with MIME type text/javascript.\", but everything seems to be working fine. This only seems to be

相关标签:
7条回答
  • 2021-02-01 04:44

    The (webkit-based) browser is issuing a warning that it has decided to ignore the mimetype provided by the webserver - in this case text/javascript - and is applying a different mimetype - in this case "other".

    It's a warning which users can typically ignore, but a developer might find useful when looking for clues to a problem. For this example it might explain why some javascript wasn't being executed.

    0 讨论(0)
提交回复
热议问题