Skip to content

Commit

Permalink
@uppy/companion: fix forcePathStyle boolean conversion (#5308)
Browse files Browse the repository at this point in the history
  • Loading branch information
mifi authored Jan 15, 2025
1 parent 2903b35 commit b66a794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@uppy/companion/src/server/s3-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ module.exports = (companionOptions, createPresignedPostMode = false) => {
/** @type {import('@aws-sdk/client-s3').S3ClientConfig} */
let s3ClientOptions = {
region: s3.region,
forcePathStyle: Boolean(s3.forcePathStyle)
forcePathStyle: s3.forcePathStyle
}

if (s3.useAccelerateEndpoint) {
Expand Down

0 comments on commit b66a794

Please sign in to comment.