From e7803fbfd60aa0b4894cf23481fbf1d475d59192 Mon Sep 17 00:00:00 2001 From: DeveloperRyou Date: Mon, 20 May 2024 11:12:12 +0900 Subject: [PATCH] =?UTF-8?q?HOTFIX:=20=EB=B0=B1=EC=97=94=EB=93=9C=20?= =?UTF-8?q?=EC=9E=91=EC=97=85=EC=9D=84=20=EC=9C=84=ED=95=B4=208080?= =?UTF-8?q?=EC=9C=BC=EB=A1=9C=20=EC=9E=84=EC=8B=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apis/network.ts | 2 +- src/assist/buttonwrapper/KakaoLoginButtonWrapper.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apis/network.ts b/src/apis/network.ts index a610d2f..0f775db 100644 --- a/src/apis/network.ts +++ b/src/apis/network.ts @@ -13,7 +13,7 @@ const getTokenFromLocalStorage = () => { return accessToken; }; -const eollugageUrl = "https://api.eolluga.com/"; +const eollugageUrl = "http://localhost:8080/"; const api = axios.create({ baseURL: eollugageUrl, headers: { diff --git a/src/assist/buttonwrapper/KakaoLoginButtonWrapper.tsx b/src/assist/buttonwrapper/KakaoLoginButtonWrapper.tsx index a8f301f..cdfc04d 100644 --- a/src/assist/buttonwrapper/KakaoLoginButtonWrapper.tsx +++ b/src/assist/buttonwrapper/KakaoLoginButtonWrapper.tsx @@ -8,7 +8,7 @@ function KakaoLoginButtonWrapper() { if (!kakao?.isInitialized()) { kakao?.init(process.env.NEXT_PUBLIC_KAKAO_JS_KEY); } - const redirectUri = `https://api.eolluga.com/login/oauth2/code/kakao`; + const redirectUri = `http://localhost:8080/login/oauth2/code/kakao`; kakao?.Auth?.authorize({ redirectUri, });