radio-stream
radio-stream copied to clipboard
Add nginx-mod-http-headers-more and Access-Control-Allow-Origin to nginx
Hey @vitalybe I believe we need this fix!
The call to OPTIONS http://{SERVER}/radio-stream/api/playlists
is returning a 401 (Unauthorized)
because of the CORS policy, from the browser.
Please let me know what you think.
Hey, thanks for the PR!
-
Why do you need to call OPTIONS from the browser? The 2 use cases I have now, Desktop app and Android app aren't concerned with CORS.
-
That's a lot of changes in the Dockerfile... Why all that is needed?