Change GQL endpoint for gateway server from /graphql to / (#38)

This commit is contained in:
prathamesh0
2023-11-23 16:15:57 +05:30
committed by GitHub
parent 4b1c8c6c90
commit 581e7d76f9
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -52,6 +52,7 @@ async function makeGatewaySchema () {
export const gatewayApp = createYoga({
schema: makeGatewaySchema(),
maskedErrors: false,
graphqlEndpoint: '/',
graphiql: {
title: 'Azimuth Watchers',
defaultQuery: `#
+1 -1
View File
@@ -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'));