build image
This commit is contained in:
parent
1baa718b11
commit
3432aed38b
@ -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({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user