Skip to content

HotFix(#129, 102)/ 리프레시 토큰 발급 API 경로 수정#137

Merged
Ruthgyeul merged 3 commits intomasterfrom
develop
May 13, 2025
Merged

HotFix(#129, 102)/ 리프레시 토큰 발급 API 경로 수정#137
Ruthgyeul merged 3 commits intomasterfrom
develop

Conversation

@Ruthgyeul
Copy link
Member

#️⃣ Related Issue

#129 #102

📝 PR Description

리프레시 토큰 발급 API 경로 수정

ImgBotApp and others added 3 commits May 13, 2025 10:36
*Total -- 22,163.01kb -> 18,810.80kb (15.13%)

/public/screenshots/home.png -- 4,074.28kb -> 2,187.80kb (46.3%)
/public/icons/logo/동연.png -- 91.71kb -> 59.04kb (35.62%)
/public/icons/ui/pencil.png -- 7.89kb -> 5.12kb (35.18%)
/public/icons/logo/google.png -- 5.09kb -> 3.62kb (28.82%)
/public/icons/logo/gdgoc.png -- 9.27kb -> 6.81kb (26.61%)
/public/images/study/study1.jpg -- 280.93kb -> 219.12kb (22%)
/public/images/study/study2.jpg -- 265.09kb -> 207.42kb (21.76%)
/public/images/study/study5.jpg -- 268.89kb -> 210.72kb (21.63%)
/public/images/study/study4.jpg -- 285.21kb -> 223.95kb (21.48%)
/public/images/study/study3.jpg -- 270.76kb -> 213.16kb (21.27%)
/public/images/activity/snack.jpg -- 1,741.33kb -> 1,507.40kb (13.43%)
/public/icons/logo/창지단.png -- 50.15kb -> 43.54kb (13.18%)
/public/icons/logo/강쌤과외.png -- 50.95kb -> 45.09kb (11.51%)
/public/icons/gdgocIcon/144x144.png -- 4.61kb -> 4.11kb (10.68%)
/public/images/activity/seminar.jpg -- 2,422.63kb -> 2,180.54kb (9.99%)
/public/icons/gdgocIcon/152x152.png -- 4.94kb -> 4.46kb (9.71%)
/public/icons/logo/link.png -- 65.32kb -> 59.00kb (9.68%)
/public/icons/gdgocIcon/384x384.png -- 14.43kb -> 13.06kb (9.47%)
/public/icons/gdgocIcon/128x128.png -- 4.11kb -> 3.73kb (9.33%)
/public/icons/gdgocIcon/192x192.png -- 6.28kb -> 5.71kb (9.09%)
/public/icons/gdgocIcon/96x96.png -- 3.02kb -> 2.75kb (8.68%)
/public/images/activity/christmas.jpg -- 521.86kb -> 477.41kb (8.52%)
/public/images/bgimg.png -- 4,709.46kb -> 4,354.65kb (7.53%)
/public/icons/gdgocIcon/512x512.png -- 20.03kb -> 18.77kb (6.31%)
/public/icons/logo/inha.png -- 111.95kb -> 105.34kb (5.9%)
/public/icons/logo/gpters.png -- 126.57kb -> 119.58kb (5.52%)
/public/images/activity/globalthon.jpg -- 3,379.72kb -> 3,204.29kb (5.19%)
/public/icons/gdgocIcon/72x72.png -- 2.32kb -> 2.20kb (5.01%)
/public/images/activity/songdo_conf.jpg -- 119.91kb -> 115.22kb (3.91%)
/public/images/activity/party.jpg -- 2,006.62kb -> 1,972.33kb (1.71%)
/public/images/activity/googleconf.jpg -- 1,237.67kb -> 1,234.87kb (0.23%)

Signed-off-by: ImgBotApp <[email protected]>
@Ruthgyeul Ruthgyeul requested a review from Copilot May 13, 2025 11:11
@Ruthgyeul Ruthgyeul self-assigned this May 13, 2025
@Ruthgyeul Ruthgyeul added 💻 MASTER Master PR 요청 HotFix 긴급히 오류를 고칠 때 labels May 13, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes the refresh token API route and makes a minor adjustment to error handling during authentication.

  • Updated refresh route in the API endpoint from "/refresh" to "/auth/refresh".
  • Expanded error status handling in useAuthenticatedApi to include 401 errors.
  • Introduced a new API_REFRESH_URL constant in useAuthApi, which may need consistency adjustments with the route changes.

Reviewed Changes

Copilot reviewed 35 out of 35 changed files in this pull request and generated 2 comments.

File Description
src/services/study/useStudyList.js Commented out development code for GDGOC study list; verify if this code is needed.
src/hooks/useAuthenticatedApi.js Updated error handling to check both 401 and 403 statuses with an added explanatory comment.
src/hooks/useAuthApi.js Added API_REFRESH_URL constant; the endpoint still uses "/refresh" which may be inconsistent.
src/app/api/auth/refresh/route.js Revised refresh endpoint path to include the "auth" segment for production consistency.

@Ruthgyeul Ruthgyeul merged commit 90eb395 into master May 13, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

HotFix 긴급히 오류를 고칠 때 💻 MASTER Master PR 요청

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants