From bcbb2348a7747facfd13ddebd4cbc21a2982e39f Mon Sep 17 00:00:00 2001 From: DongHyeonWon Date: Wed, 7 Feb 2024 18:25:05 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20axios=20header=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/apis/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/apis/index.ts b/frontend/src/apis/index.ts index 3393769..08c8fdd 100644 --- a/frontend/src/apis/index.ts +++ b/frontend/src/apis/index.ts @@ -3,7 +3,7 @@ import axios from "axios"; export const axiosApi = (url: string | undefined) => axios.create({ baseURL: url, - withCredentials: true, + headers: { withCredentials: true }, }); const baseUrl = process.env.NEXT_PUBLIC_BASE_URL;