Lepozepo / cloudinary

MIT License
94 stars 42 forks source link

getting insecure response as shown below, below is my code. Appreciate if you can point where iam going wrong. thanks #66

Open syedmahamood opened 8 years ago

syedmahamood commented 8 years ago

OPTIONS https://api.cloudinary.com/v1_1/dojoin/image/upload net::ERR_INSECURE_RESPONSE Uncaught SyntaxError: Unexpected end of input(anonymous function) @ functions.coffee:110

Template.userprofile.events({ "change input[type='file']": function(e) { console.log("iam in file upload") var files = [ ] file = e.currentTarget.files[0]; files.push(file) console.log("fiels value" + files) Cloudinary.upload(files,function(err,res){ console.log("Upload Error:" + err); console.log ("Upload Result:" + res);
})
console.log("finsied" + files) } })

syedmahamood commented 8 years ago

It turns out that the problem is with the google chrome browser. But in firefox its working fine. Not sure how to handle this in chrome.