Skip to content

Commit

Permalink
🐛 fix: S3 client integrity check for Cloudflare R2
Browse files Browse the repository at this point in the history
  • Loading branch information
CloudPassenger committed Jan 16, 2025
1 parent bcea920 commit 8baa95b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/server/modules/S3/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ export class S3 {
endpoint: fileEnv.S3_ENDPOINT,
forcePathStyle: fileEnv.S3_ENABLE_PATH_STYLE,
region: fileEnv.S3_REGION || DEFAULT_S3_REGION,
requestChecksumCalculation: 'WHEN_REQUIRED',
responseChecksumValidation: 'WHEN_REQUIRED',
});
}

Expand Down

0 comments on commit 8baa95b

Please sign in to comment.