From 48a7f3ece913cb572e811ff6013d67e01d7b0e25 Mon Sep 17 00:00:00 2001 From: Seohyun Lee Date: Mon, 5 Aug 2024 19:13:40 +0900 Subject: [PATCH] fix: fix credential --- frontend/src/utils/api.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/frontend/src/utils/api.ts b/frontend/src/utils/api.ts index 15ee742..54e40c9 100644 --- a/frontend/src/utils/api.ts +++ b/frontend/src/utils/api.ts @@ -25,7 +25,6 @@ export default function api(path: string, data: any = undefined, method = 'POST' }) return new Promise(async (resolve, reject) => { fetch(endpoint + path, { - credentials: 'include', method: data ? method : 'GET', body: data ? JSON.stringify(data) : undefined, redirect: 'follow',