无法为 jekyll 供电的项目站点设置服务人员,灯塔拒绝start_url
价值并给出错误Unable to fetch start URL via service worker
app->manifest输出显示 root/
也尝试./index.html
过 - 结果相同。有没有办法通过审核?
清单.json:
{
"name": "outcast",
"short_name": "outcast",
"icons": [
{
"src": "/assets/images/splsh192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "/assets/images/splsh512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"lang": "en-US",
"display": "standalone",
"background_color": "#131313",
"theme_color": "#f62e1a",
"start_url": "/",
"serviceworker": {
"src": "sw.js",
"scope": "/",
"update_via_cache": "none"
}
}