Sha256: ebceb10c47e48e597d05009efdc3caa016377a22a466b2422891dd1242e7552c
Contents?: true
Size: 364 Bytes
Versions: 56
Compression:
Stored size: 364 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
56 entries across 56 versions & 2 rubygems