Report this

What is the reason for this report?

CORS settings not being applied to Spaces?

Posted on January 3, 2018

I’m trying to upload to Spaces via fineuploader, which is a Javascript based file upload library. Since it’s uploading from the browser it needs CORS settings applied.

I set up a Spaces called “cors-test” in the ny3 region. I set the CORS headers to the following:

Screenshot

However when the library sends the preflight OPTIONS request to Spaces, the Access-Control-* headers are not applied, as can be seen in the following screenshot.

Screenshot

What’s wrong here?



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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

@chris236846 did you ever get a solve for this i have literally exactly the same problem with FineUploader and can’t figure this out?

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.