const command = new PutObjectCommand({
Bucket: bucket,
Key: key,
ContentType: img.contentType || "application/octet-stream",
});
const uploadUrl = await getSignedUrl(s3Client, command, {
expiresIn: 60,
});
const command = new PutObjectCommand({
Bucket: bucket,
Key: key,
ContentType: img.contentType || "application/octet-stream",
});
const uploadUrl = await getSignedUrl(s3Client, command, {
expiresIn: 60,
});