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({
|
||||
// @ts-ignore
|
||||
fetch,
|
||||
uri: "http://localhost:8000/graphql/"
|
||||
uri: process.env.API_URI
|
||||
});
|
||||
const apolloClient = new ApolloClient({
|
||||
cache,
|
||||
|
|
Loading…
Reference in a new issue