From deb2709829c36d596158fe2c1ee2be01a535fdc3 Mon Sep 17 00:00:00 2001 From: Wyatt Johnson Date: Wed, 20 Dec 2017 16:29:26 -0700 Subject: [PATCH] added mount path to the endpoint to respect the mounting config --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index f8a96010e..c0962d3aa 100644 --- a/app.js +++ b/app.js @@ -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();