Closed patryknawolski closed 3 years ago
That's not our repository. That's https://github.com/smokku/pokedex
We cannot do anything about it.
I know @Naramsim, but this repo utilizes your API, do you have any idea why the request might have that access-control-allow-origin
?
Yes
access-control-allow-origin
to the Origin
of the request. https://github.com/hasura/graphql-engine/issues/7566 (Just found out)access-control-allow-origin: beta.pokeapi.co
~I added in our Nginx conf another header add_header Access-Control-Allow-Origin *;
So the latter (*
) will have precedence and the error should be gone. I cleared the cache as well.~ I instructed Nginx to remove the header and add a new one with *
.
Steps to Reproduce:
npm install
npm run dev
Error preview: https://imgur.com/a/yIqbC8G