Skip to content
This repository was archived by the owner on Dec 18, 2025. It is now read-only.

Commit a5f7433

Browse files
committed
update project settings
1 parent 2b74ddd commit a5f7433

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

apollo.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
import { ApolloClient } from 'apollo-client';
22
import { HttpLink } from 'apollo-link-http';
33
import { InMemoryCache } from 'apollo-cache-inmemory';
4-
const GRAPHQL_ENDPOINT = `https://dev-graphql.contentstack.io/stacks/***REMOVED***?access_token=***REMOVED***&environment=production`;
4+
const GRAPHQL_ENDPOINT = `https://graphql.contentstack.com/stacks/***REMOVED***?environment=development&access_token=***REMOVED***`;
55

66
const apolloClient = () => {
77
const link = new HttpLink({
88
uri: GRAPHQL_ENDPOINT,
9-
fetchOptions: {method: "GET"}
109
});
1110
return new ApolloClient({
1211
link,

0 commit comments

Comments
 (0)