added mount path to the endpoint to respect the mounting config

This commit is contained in:
Wyatt Johnson
2017-12-20 16:29:26 -07:00
parent ad68346332
commit deb2709829
+1 -1
View File
@@ -50,7 +50,7 @@ if (ENABLE_TRACING && APOLLO_ENGINE_KEY) {
apiKey: APOLLO_ENGINE_KEY
},
graphqlPort: PORT,
endpoint: '/api/v1/graph/ql',
endpoint: `${MOUNT_PATH}api/v1/graph/ql`,
});
engine.start();