You can point a Worker at the local

You can point a Worker at the local bucket, then have the Worker itself serve the API
5 Replies
Wouter
Wouter3mo ago
Ok, I do have a followup 😄 Is this something that is in the works that you know of? https://developers.cloudflare.com/r2/api/s3/api/ Ideally Miniflare exposes this API automatically, there are no shortcuts to expose this through my own worker right? I'm looking at https://github.com/cloudflare/workerd/discussions but not really sure what to look for.
Hello, I’m Allie!
Yeah, there is nothing prebuilt atm
Wouter
Wouter3mo ago
Makes sense since you want users in the full (worker) CF ecosystem 😄 I'll do it through a NestJS endpoint > Remote (dev) bucket for now then. Till we meet again! 🫡
Hello, I’m Allie!
I'm sorry, I meant I have been working on something similar, but there's nothing usable there yet Hopefully get it working somepoint soon
Wouter
Wouter3mo ago
Ah I meant it makes sense it's not there/ prio since it's working perfect in a worker context. 🤞 Looking forward to it! Gladly migrate to it then. Will still use workers for the other upload types / serving of it. If you need testers/help let me know
Want results from more Discord servers?
Add your server