Get bucket URL from R2Bucket object

Is it possible to construct full URL from env R2Bucket object? Something like: const url = new URL('https://${env.BUCKET}.${env.ACCOUNT_ID}.r2.cloudflarestorage.com'); but instead of env.BUCKET using R2 Bucket binding
1 Reply
kian
kian2y ago
Not currently
Want results from more Discord servers?
Add your server