From fb76365f4e2f4562f7380522681d872f24dc9c70 Mon Sep 17 00:00:00 2001 From: prathamesh0 <42446521+prathamesh0@users.noreply.github.com> Date: Thu, 23 Nov 2023 18:04:45 +0530 Subject: [PATCH] Change back GQL endpoint for gateway server to /graphql (#39) --- packages/gateway-server/src/gateway.ts | 1 - packages/gateway-server/src/index.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/gateway-server/src/gateway.ts b/packages/gateway-server/src/gateway.ts index 283e6f8..470561f 100644 --- a/packages/gateway-server/src/gateway.ts +++ b/packages/gateway-server/src/gateway.ts @@ -52,7 +52,6 @@ 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 9c70bc4..96c78b6 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')); +server.listen(4000, () => log('gateway running at http://localhost:4000/graphql'));