Β© 2026 Hedgehog Software, LLC
Error uploading to R2: Error: [unenv] fs.readFile is not implemented yet!
const putObjectCommand = new PutObjectCommand({ Bucket: R2_CONFIG.bucketName, Key: file.name, Body: buffer, ContentType: file.type, }); await r2Client.send(putObjectCommand);