I'm using Django as a backend, and have run into cross origin issues which I had fixed using the corsheaders
package in settings. So far, all my GET endpoints work, thanks to:
CORS_ORIGIN_ALLOW_ALL = True
However, I'm now trying to access a static file on the django backend, located as such:
http://localhost:8000/static/image.jpg
The browser client however gets the familiar error as before:
Access to XMLHttpRequest at ... from origin ... has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Any ideas? Thanks