Open mickaelchanrion opened 6 years ago
It appears that using this storage adapter in conjunction with the field option 'note' leads to a blank page for all pages in back-office. Am I doing something wrong?
var storage = new keystone.Storage({ adapter: require('keystone-storage-adapter-s3'), s3: { key: process.env.S3_KEY, secret: process.env.S3_SECRET, bucket: process.env.S3_BUCKET, region: process.env.S3_REGION, path: '/images/myModel/', headers: { 'x-amz-acl': 'public-read' } }, schema: { bucket: true, etag: false, path: true, url: true } }) MyModel.add({ image: { type: Types.File, note: '324 x 324 px (retina)', storage: storage mimetype: ['image/png', 'image/jpeg'] } })
Thx by advance
It appears that using this storage adapter in conjunction with the field option 'note' leads to a blank page for all pages in back-office. Am I doing something wrong?
Thx by advance