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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
263 B
JavaScript
Raw Normal View History

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