Fixing a problem with inaccessible manifest file when using HTTP basic auth.
Long description:
I am using nginx + basic auth for your_spotify frontend.
After the last update, I can no longer see the left sidebar in Chrome. In Safari it works fine.
So on chrome page looks like that (artist and song information are hidden by me):
After a little investigation I found that manifest.json cannot be loaded, and the problem is that it does not use auth headers when making the request:
Short description:
Fixing a problem with inaccessible manifest file when using HTTP basic auth.
Long description:
I am using nginx + basic auth for
your_spotify
frontend. After the last update, I can no longer see the left sidebar in Chrome. In Safari it works fine.So on chrome page looks like that (artist and song information are hidden by me):
After a little investigation I found that
manifest.json
cannot be loaded, and the problem is that it does not use auth headers when making the request:The situation is described here: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/crossorigin#example_web_manifest_with_credentials
Thus, this PR fixes this problem.