Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor fix: disable redirect logic #81

Merged
merged 1 commit into from
Jun 19, 2023
Merged

Conversation

cho4036
Copy link
Contributor

@cho4036 cho4036 commented Jun 16, 2023

수정 내용:

  • logout시 302(redirect) 응답 -> 200(ok) 응답으로 수정.
  • redirect logic 임시로 주석처리

@cho4036 cho4036 requested review from ktkfree and Siyeop June 16, 2023 09:36
Comment on lines +125 to +133

//추후 사용을 위해 주석 처리
//http.Redirect(w, r, redirectUrl, http.StatusFound)
//ResponseJSON(w, r, http.StatusFound, nil)

//추후 사용을 위한 임시 코드
_ = redirectUrl

ResponseJSON(w, r, http.StatusOK, nil)
Copy link
Member

Choose a reason for hiding this comment

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

추후 수정해야 하는 코드라면 IDE의 지원을 받을 수 있도록
명시적으로 TODO 또는 FIXME 달아주는 것이 일감 관리를 위해 좋을 것 같습니다.

그렇게 쌓인 TODO가 console에도 4개나 있군요 ㅎㅎ

image

Copy link
Member

@Siyeop Siyeop left a comment

Choose a reason for hiding this comment

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

image

@ktkfree ktkfree merged commit 176094a into openinfradev:develop Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants