Created
February 6, 2019 08:22
-
-
Save aswinzz/0c004f8ae9b3c6011794d5869ba954a7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { withData } from 'next-apollo' | |
import { HttpLink } from 'apollo-link-http' | |
const config = { | |
link: new HttpLink({ | |
uri: 'https://<herokuapp-url>/v1alpha1/graphql' | |
}) | |
} | |
export default withData(config) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment