DO Ideas 2

Add CORS in spaces. To upload by signed URLs from client side

Now when I'm uploading by signed url, I got connection refused and make direct upload from client's browser is impossible.

  • Alex Babakhanov
  • Sep 11 2018
  • Shipped
  • Sep 11, 2018

    Admin Response

    We shipped this in the UI yesterday. Please give it a try and let us know if you have suggestions on how to improve it.
  • Attach files
  • Sooraj commented
    September 11, 2018 15:54

    OPTIONS HTTP method doesn't seem to be available in the UI. It doesn't work from API as well.

  • Anonymous commented
    September 11, 2018 15:54

    is there any expected date for adding CORS config options to the UI?

  • John Gannon commented
    September 11, 2018 15:54

    We'll also be adding CORS config options to the UI shortly.

  • John Gannon commented
    September 11, 2018 15:54

    Hi Alex - thanks for the note.

    CORS is supported in Spaces and can be set via the Spaces API: https://developers.digitalocean.com/documentation/spaces/#set-bucket-cors

    If you've already used the Spaces API to set CORS, please send us the configuration you used and the output you're seeing from the browser and we'll take a look.