diff --git a/backend/s3.ts b/backend/s3.ts index 74b265b..97b1866 100644 --- a/backend/s3.ts +++ b/backend/s3.ts @@ -39,7 +39,7 @@ const s3 = (): S3Client | null => { }; // Attach region to config if required - s3config.region = region != null ? region : ''; + s3config.region = region != null ? region : 'auto'; // Build the new client _s3client = new S3Client(s3config);