Use env variable
This commit is contained in:
parent
9d4398a6c8
commit
1e1de16c87
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ function setupApi() {
|
||||||
const link = new BatchHttpLink({
|
const link = new BatchHttpLink({
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
fetch,
|
fetch,
|
||||||
uri: "http://localhost:8000/graphql/"
|
uri: process.env.API_URI
|
||||||
});
|
});
|
||||||
const apolloClient = new ApolloClient({
|
const apolloClient = new ApolloClient({
|
||||||
cache,
|
cache,
|
||||||
|
|
Loading…
Reference in a new issue