Report this

What is the reason for this report?

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

Posted on May 12, 2018

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



This textbox defaults to using Markdown to format your answer.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.