Not working.
Opened this issue · 1 comments
shankymunothp commented
This is not working. Please help
Html code
<div s3-upload bucket="onnbikes" ng-model="product.remote_product_file_url"
s3-upload-options="{getOptionsUri: 'http://localhost:8080/myProject/getPresignedURLForS3', folder: 'images/'}">
My server URL - returns {
"key": "AKIAIY7TX476RMN4ULRA",
"signature": "4fRQEyo2BVOmFJYMq2boxruFjkc=",
"policy": "eyJleHBpcmF0aW9uIjogIjIwMTYtMTAtMTFUMTU6NTM6MTdaIiwiY29uZGl0aW9ucyI6IFt7ImJ1Y2tldCI6ICJvbm5iaWtlcyJ9LHsiYWNsIjogImVjMi1idW5kbGUtcmVhZCJ9LFsic3RhcnRzLXdpdGgiLCAiJGtleSIsICJpbWFnZSJdXX0="
}
But i get error
addBike.html:12:40
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://undefined.s3.amazonaws.com/. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
My CORS config is
_ GET POST PUT _Please help
shankymunothp commented