Amplify Storage, put public files

前端 未结 0 1337
谎友^
谎友^ 2021-01-21 03:12

I\'m uploading to an S3 bucket some file, with:

const { key } = await Storage.put(filename, file, {
  contentType: \'image/jpeg\',
  level: \'public\'
});
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题