Skip to content

[@vue/pwa] add option to configure crossorigin tag in manifest link in generated index.html #3933

Closed
@BigsonLvrocha

Description

@BigsonLvrocha

What problem does this feature solve?

I work with an apache server with sspi auth, so I've been having problems with the manifest.json include returning 401, with the text:

This server could not verify that you are authorized to access the URL "[...]/manifest.json". You either supplied the wrong credentials (e.g. bad password), or you browser doesn't understand how to supply the credentials required.

Adding crossorigin=use-credentials to the manifest link tag fixes it, but there is no automatic generation, it's something I have to do every time I build a new version. This is something that could be a plugin setting

What does the proposed API look like?

add pwa.crossorigin seeting option to vue.config.js file to specify if crossorigin tag should be added and if so, it's value

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions