diff options
Diffstat (limited to 'frontend/src/services/graphql-client.ts')
| -rw-r--r-- | frontend/src/services/graphql-client.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/frontend/src/services/graphql-client.ts b/frontend/src/services/graphql-client.ts index ad2680a..4b2532a 100644 --- a/frontend/src/services/graphql-client.ts +++ b/frontend/src/services/graphql-client.ts @@ -3,4 +3,8 @@ import { Client, cacheExchange, fetchExchange } from "urql"; export const client = new Client({ url: "/graphql", exchanges: [cacheExchange, fetchExchange], + fetchOptions: { + // Include cookies for session management + credentials: "include", + }, }); |
