From 8ca65ad1722a50e6d306a5a017b83903677e7c98 Mon Sep 17 00:00:00 2001 From: rpurnama1409 Date: Mon, 19 Feb 2024 12:00:35 +0700 Subject: [PATCH] Fix GraphQL URI in apolloClient function --- src/utils/graphql.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/graphql.ts b/src/utils/graphql.ts index 737360b..bd67d3d 100755 --- a/src/utils/graphql.ts +++ b/src/utils/graphql.ts @@ -3,7 +3,7 @@ import { ApolloClient, createHttpLink, InMemoryCache } from '@apollo/client/core export const apolloClient = () => { const httpLink = createHttpLink({ - uri: 'http://http://192.168.1.84:32180/graphql', + uri: 'http://192.168.1.84:32180/graphql', credentials: 'include', // Include credentials for cross-origin requests });