You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
But the problem is the generated manifest is always generated using an absolute path and there is no way to use a relative path. And a relative path makes sense as it is interpreted as relative to the manifest.webmanifest location. If the web app is deployed in a subpath and not in the / of an origin relative paths work but absolute paths don't. And if deployed in / both work exactly the same way.
I'm fixing the problem doing this before writing the webmanifest to distk:
Things are a bit backwards here. A Manifest file is secondary to icons. Historically the library was designed around icons and whatever else (e.g. manifests) were "extra files to generate".
I am using as configuration a relative value for path property:
But the generated
manifest.webmanifest
adds 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.The text was updated successfully, but these errors were encountered: