graphql-engine/community/sample-apps/nextjs-postgres-graphql/config.js
2019-01-17 15:57:28 +05:30

11 lines
286 B
JavaScript

import { withData } from 'next-apollo'
import { HttpLink } from 'apollo-link-http'
const config = {
link: new HttpLink({
uri: 'https://hasura-graphql-2.herokuapp.com/v1alpha1/graphql', // <- Configure GraphQL Server URL (must be absolute)
})
}
export default withData(config)