graphql-engine/community/sample-apps/nextjs-postgres-graphql/config.js

11 lines
280 B
JavaScript
Raw Normal View History

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