How would I go about setting up CloudFlare R1 as a storage server?
I'm wondering how I could do this as currently my project just saves files to its own ephemeral storage and then serves those files to users to view online but I'm wondering how I could do this with cloudflare r1 which was recommended to me from here.
Solution:Jump to solution
use an S3 SDK to upload files to R2 and then return a signed URL to your users so they can download the files
6 Replies
Project ID:
N/A
N/A
By what I mean when saying serving those files to users to view online is I ahve an endpoint and a wildcard for the filename which it will then serve that files depending on there file name
Solution
use an S3 SDK to upload files to R2 and then return a signed URL to your users so they can download the files
but I would recommend watching some videos on this subject, because unfortunately we aren't able to offer coding help here, these help threads are intended for platform help
oh okay thanks
Just updating on this I was able to get it working perfectly and it’s prices are amazing thank you
I had to use a few workers routes but it worked in the end