so i shouldn't be adding cors headers to my nginx config?
either way i added them and it still errors for me.
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Expose-Headers' '*';
add_header 'Access-Control-Allow-Headers' 'Authorization,*';
add_header 'Access-Control-Allow-Methods' 'GET, PUT, DELETE';
Nostrudle says:
Cannot read properties of undefined (reading 'url')
when I try to upload an image.