fix: use relative paths in manifest.json for compatibility with Github Pages (#2271)

* Use relative paths in manifest.json

* Use dot syntax for relative paths in manifest.json
This commit is contained in:
Noel De Martin
2018-10-12 15:01:44 +02:00
committed by Haoqun Jiang
parent 9757f144e6
commit 6d26c756d5

View File

@@ -3,17 +3,17 @@
"short_name": "<%- rootOptions.projectName %>",
"icons": [
{
"src": "/img/icons/android-chrome-192x192.png",
"src": "./img/icons/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/img/icons/android-chrome-512x512.png",
"src": "./img/icons/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"start_url": "/index.html",
"start_url": "./index.html",
"display": "standalone",
"background_color": "#000000",
"theme_color": "#4DBA87"