From 35325cc5739a50a57b8789bee41d06155364fb93 Mon Sep 17 00:00:00 2001 From: geek Date: Thu, 22 Mar 2018 09:44:05 -0500 Subject: [PATCH] fix: /{console}/graphql --- packages/my-joy-images/src/state/apollo-client.js | 2 +- packages/my-joy-instances/src/state/apollo-client.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/my-joy-images/src/state/apollo-client.js b/packages/my-joy-images/src/state/apollo-client.js index b0567528..b5260dfe 100644 --- a/packages/my-joy-images/src/state/apollo-client.js +++ b/packages/my-joy-images/src/state/apollo-client.js @@ -12,7 +12,7 @@ const { } = process.env; const PORT = REACT_APP_GQL_PORT ? `:${REACT_APP_GQL_PORT}` : ''; -const URI = `${REACT_APP_GQL_PROTOCOL}://${REACT_APP_GQL_HOSTNAME}${PORT}/graphql`; +const URI = `${REACT_APP_GQL_PROTOCOL}://${REACT_APP_GQL_HOSTNAME}${PORT}/images/graphql`; export default (opts = {}) => { let cache = new InMemoryCache(); diff --git a/packages/my-joy-instances/src/state/apollo-client.js b/packages/my-joy-instances/src/state/apollo-client.js index b0567528..b9f2b16e 100644 --- a/packages/my-joy-instances/src/state/apollo-client.js +++ b/packages/my-joy-instances/src/state/apollo-client.js @@ -12,7 +12,7 @@ const { } = process.env; const PORT = REACT_APP_GQL_PORT ? `:${REACT_APP_GQL_PORT}` : ''; -const URI = `${REACT_APP_GQL_PROTOCOL}://${REACT_APP_GQL_HOSTNAME}${PORT}/graphql`; +const URI = `${REACT_APP_GQL_PROTOCOL}://${REACT_APP_GQL_HOSTNAME}${PORT}/instances/graphql`; export default (opts = {}) => { let cache = new InMemoryCache();