mirror of
https://github.com/hazemKrimi/crimson-quirks-ui.git
synced 2026-05-01 18:20:28 +00:00
Update apollo config
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ const client = new ApolloClient({
|
|||||||
uri: process.env.REACT_APP_GRAPHQL_API,
|
uri: process.env.REACT_APP_GRAPHQL_API,
|
||||||
cache: new InMemoryCache(),
|
cache: new InMemoryCache(),
|
||||||
headers: {
|
headers: {
|
||||||
authorization: localStorage.getItem('token') || '',
|
authorization: localStorage.getItem('token')!,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user