Files
TheGame/packages/web/graphql/client.ts
Hammad Jutt 91b94c48fe Implement User Auth on Web (#145)
* Create "me" view for logged in user

* Implement user auth on web

* Fix type errors

* Setup static regeneration

* Disable next export

* Address PR feedback
2020-10-11 11:33:16 -06:00

9 lines
161 B
TypeScript

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