Hello! We are using Solidus on Google Cloud with a...
# support
s
Hello! We are using Solidus on Google Cloud with a headless front end running on Gatsby. We’ve noticed that Solidus defaults to using signed URLs from the bucket for our product images. Unfortunately the signed URLs have an expiry, so users will see broken images in their cart if they come back the next day. We’ve tried setting the bucket read permissions to fully open to the public, but Solidus insists on using signed URLs. How do we force public URLs from the bucket with no signature or expiry?
j
I like to punish myself by answering this question over and over but never updating the documentation.* Here's your answer: https://edgeguides.rubyonrails.org/active_storage_overview.html#public-access *note to self: update the documentation
🏅 1
I'm also pretty sure that (if you're using S3) if you create a bucket where objects default to public, it'll create public URLs as well.
s
hah! glad my question inspired a reminder 🙂 this worked for us, thanks!