I have created a React module for sending stickers in a chat application. My component uses a REST API for managing stickers http://stickerpipe.com/ and https://github.com/visionmedia/superagent to process the HTTP requests. Everything works fine in my example project but when I want to add it to my Meteor app I get the following errors:
I have also tried adding the component to another, non meteor, project and everything works fine.
You can find my module here https://github.com/anchorchat/react-stickerpipe
Any suggestions on how to proceed are welcome!
I’m guessing Meteor sets some setting for the XMLHttpRequest causing the ‘Access-Control-Allow-Origin’ errors mentioned above.