mirror of
https://github.com/hazemKrimi/crimson-quirks-ui.git
synced 2026-05-02 02:30:29 +00:00
Update apollo config
This commit is contained in:
@@ -11,6 +11,9 @@ import reportWebVitals from './reportWebVitals';
|
||||
const client = new ApolloClient({
|
||||
uri: process.env.REACT_APP_GRAPHQL_API,
|
||||
cache: new InMemoryCache(),
|
||||
headers: {
|
||||
authorization: localStorage.getItem('token') || '',
|
||||
},
|
||||
});
|
||||
|
||||
ReactDOM.render(
|
||||
|
||||
Reference in New Issue
Block a user