首页 > 解决方案 > 加载主页时,heroku 没有为我的所有 js 文件提供所有服务的问题?

问题描述

我收到以下错误,无法登录。但是,在我点击几次后,我不再看到这些错误,并且可以成功登录。我认为这不是异步/等待的问题。得到

GEThttps://floating-inlet-25704.herokuapp.com/javascripts/incomeTax/modules/stateTax.js [HTTP/1.1 404 Not Found 81ms]

GEThttps://floating-inlet-25704.herokuapp.com/javascripts/budget/createBudgetSection.js [HTTP/1.1 404 Not Found 79ms]

由于不允许的 MIME 类型(“text/html”),从“https://floating-inlet-25704.herokuapp.com/javascripts/incomeTax/modules/stateTax.js”加载模块被阻止。floating-inlet-25704.herokuapp.com 由于不允许的 MIME 类型(“text/html”),从“https://floating-inlet-25704.herokuapp.com/javascripts/budget/createBudgetSection.js”加载模块被阻止. 浮动入口 25704.herokuapp.com

错误截图

标签: javascriptheroku

解决方案


推荐阅读