diff --git a/src/graphql.test.ts b/src/graphql.test.ts index 2fe3748..2ccde2c 100644 --- a/src/graphql.test.ts +++ b/src/graphql.test.ts @@ -6,7 +6,7 @@ import { yoga } from './graphql' const executor = buildHTTPExecutor({ fetch: yoga.fetch, - endpoint: 'http://yoga/', + endpoint: 'http://yoga/countries', }) const ListFilteredCountriesQuery = parse(/* GraphQL */ ` diff --git a/src/graphql.ts b/src/graphql.ts index f98d083..df5752f 100644 --- a/src/graphql.ts +++ b/src/graphql.ts @@ -5,7 +5,8 @@ import { schema } from './schema' export const yoga = createYoga({ schema, batching: true, - graphqlEndpoint: '/', + graphqlEndpoint: '/countries', + landingPage: false, }) export default {