We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9022ae6 commit 052bf0bCopy full SHA for 052bf0b
config/storage.yml
@@ -14,6 +14,11 @@ cloudflare:
14
region: <%= ENV['CLOUDFLARE_R2_REGION'] %>
15
bucket: <%= ENV['CLOUDFLARE_R2_BUCKET_NAME'] %>
16
endpoint: <%= ENV['CLOUDFLARE_R2_ENDPOINT'] %>
17
+ # Disable automatic checksum calculation to avoid conflicts with content_md5
18
+ # AWS SDK >= 1.208.0 adds checksum_algorithm by default, which conflicts with ActiveStorage's content_md5
19
+ # Setting to 'when_required' reverts to previous behavior compatible with S3-compatible services
20
+ request_checksum_calculation: when_required
21
+ response_checksum_validation: when_required
22
23
# Remember not to checkin your GCS keyfile to a repository
24
# google:
0 commit comments