Change back GQL endpoint for gateway server to /graphql (#39)

This commit is contained in:
prathamesh0 2023-11-23 18:04:45 +05:30 committed by GitHub
parent 581e7d76f9
commit fb76365f4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -52,7 +52,6 @@ async function makeGatewaySchema () {
export const gatewayApp = createYoga({
schema: makeGatewaySchema(),
maskedErrors: false,
graphqlEndpoint: '/',
graphiql: {
title: 'Azimuth Watchers',
defaultQuery: `#

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'));
server.listen(4000, () => log('gateway running at http://localhost:4000/graphql'));