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

前端 未结 7 1771
长情又很酷
长情又很酷 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:29

    There is a setting for the Apache MIME module where it misses adding the type for javascript, to resolve it, simply open the .htaccess file OR httpd.conf file, add the following lines

    
      AddType text/javascript .js
    
    

    Restart the apache server, issue will be resolved.

提交回复
热议问题