Change GQL endpoint for gateway server from /graphql to / (#38)
This commit is contained in:
parent
4b1c8c6c90
commit
581e7d76f9
@ -52,6 +52,7 @@ async function makeGatewaySchema () {
|
||||
export const gatewayApp = createYoga({
|
||||
schema: makeGatewaySchema(),
|
||||
maskedErrors: false,
|
||||
graphqlEndpoint: '/',
|
||||
graphiql: {
|
||||
title: 'Azimuth Watchers',
|
||||
defaultQuery: `#
|
||||
|
@ -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'));
|
||||
|
Loading…
Reference in New Issue
Block a user