aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/src/services/graphql-client.ts
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-11-02 00:00:35 +0900
committernsfisis <nsfisis@gmail.com>2025-11-02 00:00:35 +0900
commit104341ddc4add57f83c58cb3fabb23b6fbfdd3e4 (patch)
tree862b109fe257e6170a88929729dae3bddfb6eb49 /frontend/src/services/graphql-client.ts
parentba1e0c904f810193f25d4f88cc2bb168f1d625fe (diff)
downloadfeedaka-104341ddc4add57f83c58cb3fabb23b6fbfdd3e4.tar.gz
feedaka-104341ddc4add57f83c58cb3fabb23b6fbfdd3e4.tar.zst
feedaka-104341ddc4add57f83c58cb3fabb23b6fbfdd3e4.zip
Diffstat (limited to 'frontend/src/services/graphql-client.ts')
-rw-r--r--frontend/src/services/graphql-client.ts4
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",
+ },
});