Question

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

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 :(

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!