javascript - 谷歌浏览器中的fontawesome中断与角度
问题描述
我有 Angular 8 应用程序。
如果我启动应用程序,则在 localhost 中。每次在文件上都会中断:
use.fontawesome.com/5698ab9788.js.
这是完整的文件:
window.FontAwesomeCdnConfig = {
autoA11y: {
enabled: true
},
asyncLoading: {
enabled: true
},
reporting: {
enabled: false
},
useUrl: "use.fontawesome.com",
faCdnUrl: "https://cdn.fontawesome.com:443",
code: "5698ab9788"
};
并且出现了这三个错误:
5698ab9788.js:15 GET http://localhost:4200/assets/hepchat/fonts/fontawesome-webfont.woff2?v=4.6.1 net::ERR_ABORTED 404 (Not Found)
c @ 5698ab9788.js:15
(anonymous) @ 5698ab9788.js:15
(anonymous) @ 5698ab9788.js:15
h.load @ 5698ab9788.js:15
(anonymous) @ 5698ab9788.js:15
(anonymous) @ 5698ab9788.js:15
2index.html:1 GET http://localhost:4200/assets/hepchat/fonts/fontawesome-webfont.woff?v=4.6.1 net::ERR_ABORTED 404 (Not Found)
所以我的问题是如何解决这个错误?谢谢
解决方案
推荐阅读
- django - 如何从返回所有字段的django模型序列化程序中获取特定字段(序列化程序元数据中的字段='__all__')?
- networking - 找不到从 Gephi 导出的 SigmaJS 文件
- ruby - 将可能的 UTF-8 转换为正确的字符串
- svelte - 更新绑定的 Svelte 通知
- apache-nifi - 使用 ParquetRecordSetWriter 时,NiFi 合并记录处理器不遵守最小 bin 大小
- javascript - 导航栏链接其他页面上的打开选项卡?
- mq - 2 个 QM 通过 Sender 和 RCVR 互相交谈不工作
- r - 4个不同的情节成为一个独特的情节
- javascript - Javascript 执行阻止 SVG 动画
- c# - 如何在 MVVM 模式中实现 OpenFileDialog WPF 代码