问题描述
我正在学习有关如何turn your HTML page into a PWA的在线教程。我到达了关于编写清单文件的部分。将它与我的简单 HTML 文件一起上传到远程服务器。但是,当我在 Chrome 中的 开发人员工具 中打开 应用程序 时。我看到这些消息:
请注意,在错误和警告部分,它表示无法加载我的:
`icon-152x152.png,icon-192x192.png,icon-144x144.png`
http://bmgrest.byethost12.com/last/img/favIcon/icon-144x144.png
http://bmgrest.byethost12.com/last/img/favIcon/icon-152x152.png
http://bmgrest.byethost12.com/last/img/favIcon/icon-192x192.png
意味着文件存在于远程服务器上。
{
"name": "BMG","short_name": "BMG","start_url": ".","display": "standalone","background_color": "#fff","description": "BMG mat meny och restaurant information","icons": [
{
"src": "img/favIcon/icon-152x152.png","sizes": "512x512","type": "img/png"
},{
"src": "img/favIcon/icon-192x192.png","sizes": "192x192","type": "img/png"
},{
"src": "img/favIcon/icon-144x144.png","sizes": "144x144","type": "img/png"
}
]
}
我还在我的 HTML 标题中包含了图标链接,希望这能解决问题,但没有运气。 在下面找到我的 HTML 标题代码:
请帮我解决这个问题。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)