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

后端 未结 4 830
無奈伤痛
無奈伤痛 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:32

    Have you tried specifying your origin instead of using wildcard. I'm pretty sure we had similar problems in the past.

    
    
        
            http://127.0.0.1:5000
            GET
            POST
            PUT
            *
        
    
    

提交回复
热议问题