mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 17:31:56 +03:00
11 lines
286 B
JavaScript
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)
|