DO Spaces don`t return Access-Control-Allow-Origin header.

May 12, 2018 985 views
Object Storage

Hi! Trying to setup digital ocean spaces for storing images.
All images are public, and i need to add this images to html5 canvas and the save this canvas thru toDataUrl function.
And i cant do that because images have no Access-Control-Allow-Origin header in response.
Im setup CORS Configurations in settings, but still no header....
What i don’t understand? Thanks!
ps. In result i have “Tainted canvases may not be exported” when loading images from DO Spaces :(

Be the first one to answer this question.