Remove xspchost headers

This commit is contained in:
Jeremie Pardou-Piquemal 2021-01-07 12:13:53 +01:00 committed by Jérémie Pardou-Piquemal
parent 07bc329aaf
commit 854bcd2af0

View file

@ -136,7 +136,6 @@ export const updateGame = async (id, data) => {
headers: { headers: {
Accept: "application/json", Accept: "application/json",
"Content-Type": "application/json", "Content-Type": "application/json",
"X-SPC-HOST": `${window.location.origin}/exec`,
}, },
body: JSON.stringify(data), body: JSON.stringify(data),
credentials: "include", credentials: "include",
@ -161,7 +160,6 @@ export const sendAuthToken = async (email) => {
headers: { headers: {
Accept: "application/json", Accept: "application/json",
"Content-Type": "application/json", "Content-Type": "application/json",
"X-Auth-HOST": `${window.location.origin}`,
}, },
body: JSON.stringify({ userEmail: email }), body: JSON.stringify({ userEmail: email }),
credentials: "include", credentials: "include",