Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connecting with howtographql/react-apollo #4

Closed
tb opened this issue Oct 1, 2017 · 1 comment
Closed

Connecting with howtographql/react-apollo #4

tb opened this issue Oct 1, 2017 · 1 comment

Comments

@tb
Copy link
Contributor

tb commented Oct 1, 2017

I have configured howtographql/react-apollo with:

const networkInterface = createNetworkInterface({
  uri: 'http://localhost:3000/graphql'
})

I have removed the subscriptions, issue #3

Anyway, to get the app to work I still had to do 2 things:

  • add rack-cors - PR Add CORS #5 (alternative is to set proxy on create-react-app package.json)
  • comment out protect_from_forgery (no idea how to fix it properly atm)
@RStankov
Copy link
Collaborator

I removed protect_from_forgery in a #16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants