This commit is contained in:
wil committed 2024-04-03 16:43:41 -04:00
1 parent 05f52d8545
commit 4228536fe6
1 file changed
+3
@@ -26,6 +26,7 @@ export const CreateSession = async ({
headers: {
"Accept": "application/json",
"Content-Type": "application/json",
'Access-Control-Allow-Origin': '*',
},
credentials: 'include',
body: JSON.stringify(request)
@@ -44,6 +45,7 @@ export const GetSession = async () => {
method: 'GET',
headers: {
'Accept': 'application/json',
'Access-Control-Allow-Origin': '*',
},
credentials: 'include',
})
@@ -64,6 +66,7 @@ export async function DestroySession() : Promise<boolean> {
method: 'POST',
headers: {
'Accept': 'application/json',
'Access-Control-Allow-Origin': '*',
},
credentials: 'include',
})