From f269e4154bd799ff321f224bd25034f9b5cf5c7c Mon Sep 17 00:00:00 2001 From: Sohyun Park <124856726+ParkSohyunee@users.noreply.github.com> Date: Wed, 14 Feb 2024 17:07:16 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20=EB=B0=B1=EC=97=94=EB=93=9C=20Authorizat?= =?UTF-8?q?ion=20=ED=97=A4=EB=8D=94=20prefix=20=EC=88=98=EC=A0=95=EC=97=90?= =?UTF-8?q?=20=EB=94=B0=EB=A5=B8=20axiosInstance=20config=EC=97=90=20Beare?= =?UTF-8?q?r=20=EC=98=B5=EC=85=98=20=EC=B6=94=EA=B0=80=20(#28)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib/axios/axiosInstance.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/axios/axiosInstance.ts b/src/lib/axios/axiosInstance.ts index 5063aa8c..b4a6d793 100644 --- a/src/lib/axios/axiosInstance.ts +++ b/src/lib/axios/axiosInstance.ts @@ -11,7 +11,7 @@ axiosInstance.interceptors.request.use( const accessToken = useUser.getState().user.accessToken; if (accessToken) { - config.headers.Authorization = `${accessToken}`; // Bearer option 추가 예정 + config.headers.Authorization = `Bearer ${accessToken}`; } return config;