I am using as configuration a relative value for path property:
const configuration = {
path: 'assets/icons',
// rest of options
}
But the generated manifest.webmanifest adds an initial /. e.g.:
{
"src": "/assets/icons/android-chrome-36x36.png",
"sizes": "36x36",
"type": "image/png",
"purpose": "any"
},
Am I missing something or that / shouldn't be added? According to the specification if a relative path is used it is relative to the location of the webmanifest.
I am using as configuration a relative value for path property:
But the generated
manifest.webmanifestadds an initial/. e.g.:Am I missing something or that
/shouldn't be added? According to the specification if a relative path is used it is relative to the location of the webmanifest.