All threads / Digital Oceans Spaces set up to test in Development

Ask A Question

Notifications

You’re not receiving notifications from this thread.

Digital Oceans Spaces set up to test in Development

Alex Deering asked in General

Trying to set up digital ocean spaces in my development environment in order to test it out and make sure all the settings are correct before i push to production. But getting a Access blocked by CORS policy error for localhost domain. Tried to add it in the spaces settings but its not recognizing http://localhost:5000 as a valid domain. Is there no way to test this on local machine?

Also have a couple questions about CDN and File Listing

CDN, what is it and should it be used for a rails app. App is recipe database so users will be uploading recipe images and user avatars, will be delivering a lot of images.

File Listing: Should this be set to private or public?

Thanks for the help

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 33,399+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.