build image

This commit is contained in:
Dede Fuji Abdul 2024-04-17 21:09:24 +07:00
parent 1baa718b11
commit 3432aed38b

View File

@ -31,7 +31,7 @@ export const requestGraphQl = async (query: DocumentNode, data: any) => {
export const apolloClient = () => { export const apolloClient = () => {
const httpLink = createHttpLink({ const httpLink = createHttpLink({
uri: import.meta.env.VITE_APP_GRAPHQL_ENDPOINT, uri: import.meta.env.VITE_APP_GRAPHQL_ENDPOINT,
credentials: 'include' // Include credentials for cross-origin requests credentials: 'include'
}) })
const apolloClient = new ApolloClient({ const apolloClient = new ApolloClient({