Skip to content

Commit 30b47eb

Browse files
committed
fix: forcePathStyle for S3Client
1 parent 15a4cb8 commit 30b47eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/services/base/s3-service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export function uploadFile(credentialsAndUploadIdParsed: any, file: File, filena
1313

1414
const s3Client = new S3Client({
1515
endpoint: s3Endpoint,
16+
forcePathStyle: true,
1617
region: s3Region,
1718
credentials: {
1819
accessKeyId: credentials["AccessKeyId"],

0 commit comments

Comments
 (0)