Open itsP33t opened 10 months ago
This! Please bring in the URLs offered by R2 directly, I will never link to the file in explorer because it's my admin portal for easier file management rather than a public service.
The problem with this, is that r2-explorer doesn't know the public url for your bucket like https://pub-asdasdasdasd.r2.dev
So the only option here is to either you manually define the public url for each bucket in your index.ts or the link to image will link to r2 explorer api do directly download the image
I'd be more than happy defining it if that was an option honestly. That's a super low-effort requirement.
Ok, i try to do this soon
I use r2-explorer to upload my files and then i get the direct link so i can put it on websites i create. It would be very helpful to get the option to copy the direct link.
If i want to do this, i need to upload it using r2-explorer and then either go to cloudflare dash and find the link or just add the file name after my cdn domain