Skip to content

Fix(#4)/ 쿠키 설정 로직 개선 및 프로덕션 환경에 따른 보안 설정#123

Merged
Ruthgyeul merged 2 commits intomasterfrom
develop
May 12, 2025
Merged

Fix(#4)/ 쿠키 설정 로직 개선 및 프로덕션 환경에 따른 보안 설정#123
Ruthgyeul merged 2 commits intomasterfrom
develop

Conversation

@Ruthgyeul
Copy link
Member

#️⃣연관된 이슈

#4

📝작업 내용

쿠키 설정 로직 개선 및 프로덕션 환경에 따른 보안 설정

@Ruthgyeul Ruthgyeul requested a review from Copilot May 12, 2025 04:43
@Ruthgyeul Ruthgyeul self-assigned this May 12, 2025
@Ruthgyeul Ruthgyeul added FIX 오류를 고쳤을 때 COMPLETE 해당 부분의 요소들이 모두 완성이 됐을 때 💻 MASTER Master PR 요청 labels May 12, 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 improves cookie configuration logic for enhanced security in production and removes unnecessary debug logging.

  • Removed console logging from the study creation page.
  • Consolidated production environment detection via an isProd variable and updated cookie attributes in signin and auth refresh APIs.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
src/app/study/create/page.jsx Removed leftover debug logging
src/app/api/signin/route.js Updated cookie settings with refined production logic
src/app/api/auth/refresh/route.js Applied similar cookie configuration improvements

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

Labels

COMPLETE 해당 부분의 요소들이 모두 완성이 됐을 때 FIX 오류를 고쳤을 때 💻 MASTER Master PR 요청

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants