We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b47332 commit a2df750Copy full SHA for a2df750
src/App.js
@@ -39,7 +39,7 @@ const errorLink = onError(({ graphqlErrors, networkError }) => {
39
40
const link = from([
41
errorLink,
42
- new HttpLink({ uri: 'http://localhost:4000/graphql', credentials: 'include' }),
+ new HttpLink({ uri: process.env.REACT_APP_PUBLIC_API_URL, credentials: 'include' }),
43
]);
44
45
const client = new ApolloClient({
0 commit comments