Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/sdks/s3/aws-js-sdk.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ endpoint set to Tigris. If you are using Tigris outside of Fly, use the endpoint
[https://t3.storage.dev](https://t3.storage.dev). If you are using Tigris from
within Fly, use the endpoint
[https://fly.storage.tigris.dev](https://fly.storage.tigris.dev). Also make sure
that `s3ForcePathStyle` is set to `false`.
that `forcePathStyle` is set to `false`.

```js
import { S3Client } from "@aws-sdk/client-s3";
Expand All @@ -20,7 +20,7 @@ const S3 = new S3Client({
region: "auto",
endpoint: "https://t3.storage.dev",
// highlight-start
s3ForcePathStyle: false,
forcePathStyle: false,
// highlight-end
});
```
Expand Down
2 changes: 1 addition & 1 deletion examples/js/getting-started.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const uploadObjectFromFS = async (S3, bucket, key, filePath) => {

const S3 = new S3Client({
region: "auto",
s3ForcePathStyle: false,
forcePathStyle: false,
});

console.log("List buckets");
Expand Down
2 changes: 1 addition & 1 deletion examples/js/presigned-urls.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { getSignedUrl } from "@aws-sdk/s3-request-presigner";

const S3 = new S3Client({
region: "auto",
s3ForcePathStyle: false,
forcePathStyle: false,
});

// Presigned GET, allows users to download objects without making the bucket public.
Expand Down
2 changes: 1 addition & 1 deletion examples/js/rename-object.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const renameObject = async (S3, bucket, oldKey, newKey) => {

const S3 = new S3Client({
region: "auto",
s3ForcePathStyle: false,
forcePathStyle: false,
endpoint: "https://t3.storage.dev",
});

Expand Down