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, });