Skip to content

Commit e93fcb4

Browse files
Merge pull request #54 from code-kern-ai/fix-s3-paths
fix: forcePathStyle for S3Client
2 parents 15a4cb8 + 30b47eb commit e93fcb4

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)