@uppy/companion: add s3.forcePathStyle option (#5066)

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
This commit is contained in:
Nadeem Reinhardt 2024-07-02 07:13:35 -07:00 committed by GitHub
parent 392116898c
commit 7c174e85b7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 15 additions and 0 deletions

View file

@ -61,6 +61,7 @@ function getS3Client () {
accessKeyId: process.env.COMPANION_AWS_KEY,
secretAccessKey: process.env.COMPANION_AWS_SECRET,
},
forcePathStyle: process.env.COMPANION_AWS_FORCE_PATH_STYLE === 'true',
})
return s3Client
}