css - Laravel 错误资源解释为样式表,但使用 MIME 类型 text/html 传输
问题描述
请我在一年前托管了这个 laravel 网站,一切正常。突然间,我的网站拒绝加载我的样式,请问我该如何解决这个问题。在控制台上,我收到此错误。网址是:https ://springbedspetroleumltd.com
Resource interpreted as Stylesheet but transferred with MIME type text/html: "<URL>".
(index):8 Resource interpreted as Stylesheet but transferred with MIME type text/html: "https://springbedspetroleumltd.com/frontend/css/bootstrap.css".
(index):9 Resource interpreted as Stylesheet but transferred with MIME type text/html: "https://springbedspetroleumltd.com/frontend/plugins/revolution/css/settings.css".
(index):10 Resource interpreted as Stylesheet but transferred with MIME type text/html: "https://springbedspetroleumltd.com/frontend/plugins/revolution/css/layers.css".
(index):11 Resource interpreted as Stylesheet but transferred with MIME type text/html: "https://springbedspetroleumltd.com/frontend/plugins/revolution/css/navigation.css".
(index):13 Resource interpreted as Stylesheet but transferred with MIME type text/html: "https://springbedspetroleumltd.com/frontend/css/responsive.css".
(index):15 Resource interpreted as Stylesheet but transferred with MIME type text/html: "https://springbedspetroleumltd.com/frontend/css/style.css".
请问有人可以帮我吗?
解决方案
推荐阅读
- pm2 - PM2 无论如何都拒绝询问 SSH 密钥密码?
- java - Spring boot + JavaFX:如何在 start() 方法之后异步运行任务
- node.js - 使用express node.js,在函数中调用函数并在路由器中导出和要求,并在路由器中渲染时交给ejs
- sqlite - 将数组传输到 SQLite 中,反之亦然,无需循环,尤其是在 ActionScript3 中
- python - 通过数组内对象的两个值过滤 mongoengine/mongodb-query 中的项目
- amazon-s3 - 如何向 S3.upload() 请求添加“授权”标头?
- javascript - 如何仅对 JavaScript 中的前 3 个字符和最后一个字符进行分组(例如 123456789 => 123 45678 9)
- google-data-studio - 为什么在使用服务帐户访问底层 bigquery 数据时,社区连接器的“数据凭据”不能为空?
- python - 波函数 Python 上的曲柄 Nicolson 方法
- authentication - 需要帮助来修复此错误“对等方重置连接 - SSL_connect”