fix: set S3 region to `auto` if unset

pull/243/head
Josh Moore 1 year ago
parent 8487089209
commit 346aa9b97d

@ -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);

Loading…
Cancel
Save