mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 13:25:12 +00:00
fix(server): disable checksum check for r2 storage when using aws-s3 sdk (#9735)
This commit is contained in:
@@ -18,6 +18,8 @@ export class WebpackS3Plugin implements WebpackPluginInstance {
|
||||
accessKeyId: process.env.R2_ACCESS_KEY_ID!,
|
||||
secretAccessKey: process.env.R2_SECRET_ACCESS_KEY!,
|
||||
},
|
||||
requestChecksumCalculation: 'WHEN_REQUIRED',
|
||||
responseChecksumValidation: 'WHEN_REQUIRED',
|
||||
});
|
||||
|
||||
apply(compiler: Compiler) {
|
||||
|
||||
Reference in New Issue
Block a user