mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-17 16:50:22 +00:00
@uppy/companion: add s3.forcePathStyle option (#5066)
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
This commit is contained in:
parent
392116898c
commit
7c174e85b7
8 changed files with 15 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue