Use env variable

This commit is contained in:
dominik-zeglen 2020-07-28 12:33:55 +02:00
parent 9d4398a6c8
commit 1e1de16c87

View file

@ -25,7 +25,7 @@ function setupApi() {
const link = new BatchHttpLink({
// @ts-ignore
fetch,
uri: "http://localhost:8000/graphql/"
uri: process.env.API_URI
});
const apolloClient = new ApolloClient({
cache,