Skip to content

If a relative path is used for icons path, it is transformed to an absolute path #449

@andsouto

Description

@andsouto

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions