I was just building a static HTML page & I wanted to make it installable.
{
"name": "YYY",
"short_name": "YYY",
"icons": [
{
"src": "android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone",
"start_url":"index.html"
}
<head>
<link rel="apple-touch-icon" sizes="180x180" href="https://xxx.png">
<link rel="icon" type="imageits-not-the-real-one/png" href="https://xxx.png"
sizes="32x32">
<link rel="icon" type="imageits-not-the-real-one/png" href="https://xxx.png"
sizes="16x16">
<link rel="manifest" href="https://my-manifest-its-not-the-real-one.json">
..
Manifest: property 'start_url' ignored, should be same origin as document.
Bit late to the party but my site will ONLY accept the full URL with HTTPS enabled
I had this: http://example.com/
but I had to use: https://example.com/
otherwise I was getting the
Manifest: property 'start_url' ignored error, should be same origin as document.
I had not faced this issue until today when I set up a website for a friend on his web host (MyDomain.com).
In this case, the problem was solved by changing...
"start_url": "https://[website].com/"
to...
"start_url": "https://www.[website].com/"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.