]>
git.r.bdr.sh - rbdr/forum/blob - src/config/apollo.js
a3820ed70355cc24a896c55e759874601c019865
1 import fetch
from 'cross-fetch';
2 import { ApolloClient
, HttpLink
, InMemoryCache
} from '@apollo/client/core';
3 import { apollo as apolloConfig
} from './config';
5 const cache
= new InMemoryCache();
7 export const client
= new ApolloClient({
10 uri: apolloConfig
.uri
,