GraphQL pokémon sprites returns 404 status
assiscs2 opened this issue · 2 comments
assiscs2 commented
I was taking a look in my pokedex project and it seems that something is broken on retrieving the Pokémon sprites via GraphQL.
Here's the projects link: https://pokedex-react-topaz-zeta.vercel.app/
I'm pretty sure its not a problem from my side, since I haven't done any changes in this project for quite some time.
The console returns a 404 error: "Failed to load resource: the server responded with a status of 404 ()"
Naramsim commented
Yes, there's a problem in our GraphQL API. Currently we strip away https://raw.githubusercontent.com/PokeAPI/sprites/master/, so you have to manipulate the link.
You need to change /media/
to https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/