fix(my-joy-beta): credentials-same-origin on apollo-client
# Conflicts: # packages/my-joy-beta/package.json
This commit is contained in:
parent
cb9ee4644e
commit
17f58e4089
@ -18,7 +18,10 @@ const URI = `${REACT_APP_GQL_PROTOCOL}://${REACT_APP_GQL_HOSTNAME}${PORT}/graphq
|
|||||||
|
|
||||||
export const client = new ApolloClient({
|
export const client = new ApolloClient({
|
||||||
cache: new InMemoryCache(),
|
cache: new InMemoryCache(),
|
||||||
link: new HttpLink({ uri: URI })
|
link: new HttpLink({
|
||||||
|
credentials: 'same-origin',
|
||||||
|
uri: URI
|
||||||
|
})
|
||||||
});
|
});
|
||||||
|
|
||||||
const initialState = {
|
const initialState = {
|
||||||
|
Loading…
Reference in New Issue
Block a user