const s3 = new S3({
// All of these are undefined for some reason in amplify :/
endpoint: process.env.CLOUDFLARE_R2_URL,
accessKeyId: process.env.CLOUDFLARE_KEY_ID,
secretAccessKey: process.env.CLOUDFLARE_SECRET_KEY,
signatureVersion: "v4",
});
const s3 = new S3({
// All of these are undefined for some reason in amplify :/
endpoint: process.env.CLOUDFLARE_R2_URL,
accessKeyId: process.env.CLOUDFLARE_KEY_ID,
secretAccessKey: process.env.CLOUDFLARE_SECRET_KEY,
signatureVersion: "v4",
});