diff --git a/packages/gateway-server/src/gateway.ts b/packages/gateway-server/src/gateway.ts index 470561f..283e6f8 100644 --- a/packages/gateway-server/src/gateway.ts +++ b/packages/gateway-server/src/gateway.ts @@ -52,6 +52,7 @@ async function makeGatewaySchema () { export const gatewayApp = createYoga({ schema: makeGatewaySchema(), maskedErrors: false, + graphqlEndpoint: '/', graphiql: { title: 'Azimuth Watchers', defaultQuery: `# diff --git a/packages/gateway-server/src/index.ts b/packages/gateway-server/src/index.ts index 96c78b6..9c70bc4 100644 --- a/packages/gateway-server/src/index.ts +++ b/packages/gateway-server/src/index.ts @@ -10,4 +10,4 @@ import { gatewayApp } from './gateway'; const log = debug('vulcanize:server'); const server = createServer(gatewayApp); -server.listen(4000, () => log('gateway running at http://localhost:4000/graphql')); +server.listen(4000, () => log('gateway running at http://localhost:4000'));