Skip to content

Commit 2c4b3b2

Browse files
committed
Update ApolloClient.js
1 parent 8d6e11c commit 2c4b3b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils/apollo/ApolloClient.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ const client = new ApolloClient({
9292
createHttpLink({
9393
uri: process.env.NEXT_PUBLIC_GRAPHQL_URL,
9494
fetch,
95+
credentials: 'include', // Include cookies for authentication
9596
}),
9697
),
9798
),

0 commit comments

Comments
 (0)