Javascript 为什么谷歌chrome可以';t detect manifest.json
您好,我想将我的网站命名为pwa。该网站位于django,我将manifest.webmanifest放在127.0.0.1:8000/images/manifest中。webmanifest(仅用于测试)现在只有firefox可以检测到它,google chrome无法检测到。 这是我的清单。webmanifest内容:Javascript 为什么谷歌chrome可以';t detect manifest.json,javascript,progressive-web-apps,manifest,Javascript,Progressive Web Apps,Manifest,您好,我想将我的网站命名为pwa。该网站位于django,我将manifest.webmanifest放在127.0.0.1:8000/images/manifest中。webmanifest(仅用于测试)现在只有firefox可以检测到它,google chrome无法检测到。 这是我的清单。webmanifest内容: { "name":"damirco", "short_name":"damirco&qu
{
"name":"damirco",
"short_name":"damirco",
"display":"standalone",
"background_color":"rgb(11,11,211)",
"description":"damirco",
"dir":"rtl",
"orientation":"portrait-primary",
"icons":[
{
"src":"/images/pwa/512x512.png",
"type":"image/png",
"sizes":"512x512"
},
{
"src":"/images/pwa/192x192.png",
"type":"image/png",
"sizes":"192x192"
}
],
"start_url":"/",
"scope":"/",
"theme_color":"#3f51b5",
"prefer_related_applications": false
}
这是链接标签:
<link rel="manifest" type="application/manifest+json" href="/images/manifest.webmanifest">