Sha256: 3670deb0a0e8c9b32542c1262b24ee25988ff3132ca8fdb695bcfb2100730b56
Contents?: true
Size: 361 Bytes
Versions: 7
Compression:
Stored size: 361 Bytes
Contents
import ApolloClient, { createNetworkInterface } from 'apollo-client'; // Create a custom network interface for Apollo since our // API endpoint is not the default. const networkInterface = createNetworkInterface({ uri: '/api', opts: { credentials: 'same-origin' } }); const client = new ApolloClient({ networkInterface }); export default client;
Version data entries
7 entries across 7 versions & 2 rubygems