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

前端 未结 7 1780
长情又很酷
长情又很酷 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.

提交回复
热议问题