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();