fix: /{console}/graphql

This commit is contained in:
geek 2018-03-22 09:44:05 -05:00 committed by Sérgio Ramos
parent 7f0658e246
commit 35325cc573
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ const {
} = process.env; } = process.env;
const PORT = REACT_APP_GQL_PORT ? `:${REACT_APP_GQL_PORT}` : ''; 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 = {}) => { export default (opts = {}) => {
let cache = new InMemoryCache(); let cache = new InMemoryCache();

View File

@ -12,7 +12,7 @@ const {
} = process.env; } = process.env;
const PORT = REACT_APP_GQL_PORT ? `:${REACT_APP_GQL_PORT}` : ''; 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 = {}) => { export default (opts = {}) => {
let cache = new InMemoryCache(); let cache = new InMemoryCache();