diff --git a/src/utils/aws-s3.ts b/src/utils/aws-s3.ts index 1f3a39b..f99d17a 100644 --- a/src/utils/aws-s3.ts +++ b/src/utils/aws-s3.ts @@ -13,6 +13,7 @@ import { optimizeImage } from "./images"; // Helper to check if S3 configuration is complete function isS3Configured(): boolean { return !!( + config?.s3 && config.s3?.region && config.s3?.accessKeyId && config.s3?.secretAccessKey &&