I am unable to run query requests with my local dGraph server.
I am running
- dGraph using docker compose with both zero and alpha
- React client side frontend using apollo-client graphql for running queries.
dGraph starts up fine, I have connected and run queries/mutations/etc through postman application, but when trying to run the exact same query through apollo it gives "Unable to fetch" error.
Any idea how I can configure either apollo or dGraph to accept CORS requests and ultimately run the query
Note - downloaded and ran the queries through apollo using the browser extension for allowing CORS requests and the UI then runs fine - pointing at the issue being something to do with the CORS configuration