anshumanv / evolutions-webapp

What? monferno is evolving!
https://evolutions.js.org
MIT License
17 stars 17 forks source link

getEvolutionChain returning CORS error #13

Closed sneakycrowllc closed 6 years ago

sneakycrowllc commented 6 years ago
This issue is about getEvolutionChain returning a CORS error.

When using the evolution-search branch of the project, we're receiving this error, which seems to be a CORS issue:

@joshuahunt10 Can you paste the stack trace you're getting?

anshumanv commented 6 years ago

Please can someone fix this 😢

juffalow commented 6 years ago

If you only want to test it on your local machine, just install some CORS extension. But if you want to use it globally it won't work. https://en.juffalow.com/other/backbone-js-and-cross-domain-api/

anshumanv commented 6 years ago

@juffalow can you fix this ?

juffalow commented 6 years ago

No. It has to be "fixed" on the server side. Unless the requested server will not respond with CORS headers, it will not work.

anshumanv commented 6 years ago

Ah okay, thanks for the follow up anyways 👍

sneakycrowllc commented 6 years ago

Issue 'fixed' #14. I utilized another library of pokemon for returning evos and prevos.