Files
TheGame/packages/web/graphql/client.ts
2021-03-28 22:08:25 -06:00

11 lines
211 B
TypeScript

import { createClient } from 'urql';
import { CONFIG } from '../config';
console.info(`Client URI: ${CONFIG.graphqlURL}`)
export const client = createClient({
url: CONFIG.graphqlURL,
suspense: false,
});