mime转换成html格式,因为其MIME类型('text/html')不是受支持的样式表MIME类型,并且启用了严格的MIME检查。这是啥原因...

部署上去之后测试的时候js文件和css文件都不能访问到,作为小白不太懂这是啥原因求高手指点一二

报错信息:

Refused to apply style from 'https://static-3019648e-d9f0-4386-a4a6-14567ad829cb.bspapp.com/static/index.5ca1c9cc.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

chunk-vendors.864f0bfa.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)

index.2a074a57.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)

(index):1 Refused to apply style from 'https://static-3019648e-d9f0-4386-a4a6-14567ad829cb.bspapp.com/static/index.5ca1c9cc.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

拒绝从应用样式https://static-3019648e-d9f0-4386-a4a6-14567ad829cb.bsapp.com/static/index.5ca1c9cc.css'因为其MIME类型('text/html')不是受支持的样式表MIME类型,并且启用了严格的MIME检查。

区块供应商.864f0博鳌亚洲论坛:1加载资源失败:服务器以404(未找到)状态响应

index.2a074a57.js:1加载资源失败:服务器响应状态为404(未找到)

(索引):1拒绝应用'https://static-3019648e-d9f0-4386-a4a6-14567ad829cb.bsapp.com/static/index.5ca1c9cc.css'因为其MIME类型('text/html')不是受支持的样式表MIME类型,并且启用了严格的MIME检查。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值