From b07848c447740e1eb481b6246d114de15641f444 Mon Sep 17 00:00:00 2001 From: "mati108@gmail.com" <34651529+matbenitez@users.noreply.github.com> Date: Sat, 24 Nov 2018 11:15:06 -0300 Subject: [PATCH] Removing unused config --- client/src/graphql/apollo.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/client/src/graphql/apollo.js b/client/src/graphql/apollo.js index 3df4846bc..2ce14faa5 100644 --- a/client/src/graphql/apollo.js +++ b/client/src/graphql/apollo.js @@ -7,12 +7,7 @@ import { setContext } from 'apollo-link-context' import { getItem } from '../utils/local-storage' -const graphqlEndpoint = - process.env.NODE_ENV === 'production' - ? process.env.PROD_GRAPHQL - : process.env.DEV_GRAPHQL - -const httpLink = new HttpLink({ uri: graphqlEndpoint }) +const httpLink = new HttpLink({ uri: process.env.PLATFORM_API_URL }) const authRetryLink = onError( ({ graphQLErrors, networkError, operation, forward }) => {