sdan
Explore posts from serversCDCloudflare Developers
•Created by Jeff on 8/15/2023 in #r2
Presigned URLs
using typescript instead
import { S3Client } from '@aws-sdk/client-s3'
export const r2 = new S3Client({
region: 'auto',
endpoint:
https://${process.env.R2_ACCOUNT_ID}.r2.cloudflarestorage.com
,
credentials: {
accessKeyId: process.env.R2_ACCESS_KEY_ID '',
secretAccessKey: process.env.R2_SECRET_ACCESS_KEY '',
},
})11 replies
CDCloudflare Developers
•Created by Jeff on 8/15/2023 in #r2
Presigned URLs
running into the same issue
11 replies