// Generate a public URL for the uploaded file
const publicUrl = r2.getSignedUrl('getObject', {
Bucket: process.env.R2_BUCKET,
Key: fileName,
});
// Generate a public URL for the uploaded file
const publicUrl = r2.getSignedUrl('getObject', {
Bucket: process.env.R2_BUCKET,
Key: fileName,
});