解决本地无问题,线上报Refused to execute script from ‘;because its MIME type (‘text/html‘) is not executable,

Refused to .xecute script from '!'because
在这里插入图片描述

把nginx的add_header X-Content-Type-Options配置去掉看看
add_header X-Content-Type-Options nosniff;

猜你喜欢

转载自blog.csdn.net/weixin_43205308/article/details/131781382