Amazon s3 Javascript- No 'Access-Control-Allow-Origin' header is present on the requested resource

后端 未结 4 832
無奈伤痛
無奈伤痛 2020-12-08 07:18

Am trying to upload my file via:

console.log(\"not broken til here\");
    scope.inputMemeIsFile=true;
    var bucket = new AWS.S3({params: {Bucket: \'townh         


        
4条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-08 07:30

    Try *, without protocol.

    If it has no effect – you probably have problem on client side.

提交回复
热议问题