Skip to content

Commit 6641f69

Browse files
committed
Include region when connecting to s3
1 parent a561f2a commit 6641f69

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ram-analysis/app/s3/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ switch (STORAGE_ENGINE) {
2424
break;
2525
case 's3':
2626
minioClient = new Minio.Client({
27+
// Endpoint gets updated based on region.
2728
endPoint: 's3.amazonaws.com',
29+
region: STORAGE_REGION,
2830
accessKey: STORAGE_ACCESS_KEY,
2931
secretKey: STORAGE_SECRET_KEY
3032
});

0 commit comments

Comments
 (0)