-
Notifications
You must be signed in to change notification settings - Fork 0
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
[CHORE] 쿠키 value 상수 변경 #142
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
확인했습니다.
@@ -4,6 +4,8 @@ export const isProduction = process.env.NODE_ENV === 'production'; | |||
export const env = Object.freeze({ | |||
KAKAO_AUTH_URL: `${process.env.NEXT_PUBLIC_KAKAO_AUTH_URL}`, | |||
KAKAO_REST_API_KEY: `${process.env.NEXT_PUBLIC_KAKAO_REST_API_KEY}`, | |||
KAKAO_LOGIN_REDIRECT_URI: `${process.env.NEXT_PUBLIC_KAKAO_LOGIN_REDIRECT_URI}`, | |||
KAKAO_LOGIN_REDIRECT_URI: isDevelopment | |||
? `${process.env.NEXT_PUBLIC_DEV_KAKAO_LOGIN_REDIRECT_URI}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isProd라는 util 함수를 만들어도 좋겠네요?!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
요 파일 위에 isDevelopment와 isProduction 두개다 있습니다!
ACCESS_TOKEN: 'accessToken', | ||
REFRESH_TOKEN: 'refreshToken', | ||
ACCESS_TOKEN: 'Access-Token', | ||
REFRESH_TOKEN: 'Refresh-Token', | ||
}; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
혹시 왜 바꾸는걸까요?!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
백엔드 명세 변경때문입니다!
✨ 작업 내용
📚 작업 결과
🙏 기타 참고 사항
✅ PR 등록 전 확인 후 체크해 주세요! (x 표시 해 주세요.)