messyfresh / hirez.js

Node.js API wrapper for Hi-Rez Studio's Games (Smite and Paladins)
MIT License
10 stars 8 forks source link

React CORS issue #7

Open zzpreneur opened 7 years ago

zzpreneur commented 7 years ago

I have the API calls to SMITE working, but once I install the package in a React app and try making API calls I'm getting this:

react-error

Any ideas?

stachu540 commented 7 years ago

Script doesn't supporting React applications.

zzpreneur commented 7 years ago

@messyfresh @stachu540 do you know what needs to be done to make it compatible? I am willing to help.

messyfresh commented 7 years ago

I wish I could help more, but unfortunately I haven't really messed with react much. Though I have been looking for an excuse to get started.

messyfresh commented 7 years ago

@zzpreneur do you have the current code available on github? It would make it easier seeing how you implementing it to make it compatible.

zzpreneur commented 7 years ago

@messyfresh I haven't got to look into this yet. Once I do, I'll post my findings