aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/src/services/graphql-client.ts
blob: ad2680afe0d3e0137e637978c2ff125b509e5a00 (plain)
1
2
3
4
5
6
import { Client, cacheExchange, fetchExchange } from "urql";

export const client = new Client({
	url: "/graphql",
	exchanges: [cacheExchange, fetchExchange],
});