amazon s3 - How can you include http://foo.local in CORS Access-Control-Allow-Origin? -


i'm using *, apparently that's not enough. i'm trying upload file client browser. works when client's url localhost:3000 or foo.com. it's not working when url http://meteor.local. i've tried changing third line <allowedorigin>http://meteor.local</allowedorigin>, same error.

enter image description here

the browser error:

enter image description here

the error text misleading – error not due header sent s3. adding access rule cordova fixed it. (in meteor, add app.accessrule('http://meteor.local'); in mobile-config.js.)


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -