Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@uppy/companion: fix forcePathStyle boolean conversion #5308

Merged
merged 1 commit into from
Jan 15, 2025
Merged

Conversation

mifi
Copy link
Contributor

@mifi mifi commented Jul 3, 2024

Copy link
Contributor

github-actions bot commented Jul 3, 2024

Diff output files
diff --git a/packages/@uppy/companion/lib/server/s3-client.js b/packages/@uppy/companion/lib/server/s3-client.js
index 9d6827e..b513b45 100644
--- a/packages/@uppy/companion/lib/server/s3-client.js
+++ b/packages/@uppy/companion/lib/server/s3-client.js
@@ -30,7 +30,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) {
       // https://github.com/transloadit/uppy/issues/4809#issuecomment-1847320742

@Murderlon Murderlon changed the title Update s3-client.js @uppy/companion: fix forcePathStyle boolean conversion Jan 15, 2025
@Murderlon Murderlon merged commit b66a794 into main Jan 15, 2025
20 checks passed
@Murderlon Murderlon deleted the mifi-patch-1 branch January 15, 2025 09:16
github-actions bot added a commit that referenced this pull request Jan 15, 2025
| Package         | Version | Package         | Version |
| --------------- | ------- | --------------- | ------- |
| @uppy/aws-s3    |   4.2.2 | @uppy/unsplash  |   4.3.2 |
| @uppy/companion |   5.5.0 | uppy            |  4.13.0 |

- @uppy/aws-s3: always set S3 meta to UppyFile & include key (Merlijn Vos / #5602)
- @uppy/companion: fix forcePathStyle boolean conversion (Mikael Finstad / #5308)
- meta: Fix Webpack CI (Merlijn Vos / #5604)
- @uppy/aws-s3: allow uploads to fail/succeed independently (Merlijn Vos / #5603)
- meta: Add types for css files (Merlijn Vos / #5591)
- @uppy/unsplash: make utmSource optional (Merlijn Vos / #5601)
- meta: build(deps): bump docker/setup-qemu-action from 3.2.0 to 3.3.0 (dependabot[bot] / #5599)
- meta: build(deps): bump docker/build-push-action from 6.10.0 to 6.11.0 (dependabot[bot] / #5600)
- @uppy/companion: add COMPANION_TUS_DEFERRED_UPLOAD_LENGTH (Dominik Schmidt / #5561)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants