Fix GraphQL URI in apolloClient function

This commit is contained in:
rpurnama1409 2024-02-19 12:00:35 +07:00
parent 045636a484
commit 8ca65ad172

View File

@ -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
});