set region from env and fix size in uploadFile

This commit is contained in:
Fabio
2024-08-15 11:26:30 -04:00
parent 376cafa350
commit b475d1d5ea
3 changed files with 4 additions and 1 deletions

View File

@@ -21,6 +21,7 @@ const minioClient = (() => {
useSSL: BUCKET.USE_SSL,
accessKey: BUCKET.ACCESS_KEY,
secretKey: BUCKET.SECRET_KEY,
region: BUCKET.REGION
});
}
})();