fixed credential issues
This commit is contained in:
2
dist/graphiql.js
vendored
2
dist/graphiql.js
vendored
File diff suppressed because one or more lines are too long
1
main.jsx
1
main.jsx
@@ -7,6 +7,7 @@ import "graphiql/graphiql.css";
|
|||||||
const fetcher = async (params) => {
|
const fetcher = async (params) => {
|
||||||
const res = await fetch(import.meta.env.VITE_GRAPHQL_ENDPOINT, {
|
const res = await fetch(import.meta.env.VITE_GRAPHQL_ENDPOINT, {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
|
credentials: "include",
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user