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

Refactor: Add error case #47

Merged
merged 1 commit into from
Aug 13, 2024
Merged

Refactor: Add error case #47

merged 1 commit into from
Aug 13, 2024

Conversation

sally0226
Copy link
Collaborator

@sally0226 sally0226 commented Aug 13, 2024

PR Type

  • Bugfix
  • Feature
  • Docs
  • Refactoring (no functional changes, no api changes)

For what purpose

  • 닉네임이 설정되지 않은 유저일 때, 에러케이스 추가

Key changes

  • 닉네임이 설정되지 않은 유저일 때, 에러케이스 추가
  • 로컬에서 실행할 때와 서버에서 실행할 때 쿠키옵션 분리

To reviewers

Screenshots

- 닉네임이 설정되지 않은 유저일 때, 에러케이스 추가
@sally0226 sally0226 requested review from Ho-s, chanwoonglee and saehun and removed request for Ho-s August 13, 2024 14:44
@sally0226 sally0226 merged commit 0c1460b into stage Aug 13, 2024
3 checks passed
@sally0226 sally0226 deleted the refactor/nickname-error branch August 13, 2024 15:48
if (getNodeEnv === NODE_ENVIRONMENT.development) {
return {
path: '/',
maxAge: 360000,
Copy link
Collaborator

Choose a reason for hiding this comment

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

6분?!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

로컬에서 테스트할때만 6분으로 해놔쓰

sally0226 added a commit that referenced this pull request Aug 14, 2024
sameSite: 'none',
secure: true,
path: '/',
expires: new Date(new Date().getTime() + 1000 * 60 * 60 * 24 * 1 * 365),
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@Ho-s 그 외 환경(stage, prod)에서는 길고긴 만료시간!!

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.

2 participants