const S3Adapter = require('@parse/s3-files-adapter');
const s3Adapter = new S3Adapter({
bucket: "my_bucket",
directAccess: true,
baseUrl: " https://buckeet.s3.us-west-004.backblazeb2.com",
baseUrlDirect: false,
signatureVersion: 'v4',
globalCacheControl: 'public, max-age=86400',
region: 'us-west-004',
s3overrides: {
endpoint: "s3.us-west-004.backblazeb2.com",
accessKeyId: "xxxxxxxxxxxxxxxxxxxxxxx",
secretAccessKey: "xxxxxxxxxxxxxxxxxxxxxxx"
},
});
and then
config = {
appName: ...
..
filesAdapter:s3Adapter
}
but it doesn’t save in my s3 bucket.