chore: 운영 환경 설정 분리 - #121
Open
chxghee wants to merge 9 commits into
Open
Conversation
HyerimH
approved these changes
Dec 2, 2025
Collaborator
|
저는 분리하는게 좋을 것 같네요! |
Collaborator
Author
|
또 추가적인 사항이 이제 로컬에선 스웨거 페이지도 저희 도메인 접속이 아니라 localhost 로 접속해서 요청해야 쿠키가 붙게 될 것 같슴당 |
# Conflicts: # .github/workflows/prod-workflow.yml
kokodak
force-pushed
the
chxghee/chore-56-cookie
branch
2 times, most recently
from
June 13, 2026 13:07
009fc89 to
b293298
Compare
chemistryx
force-pushed
the
chxghee/chore-56-cookie
branch
from
June 20, 2026 02:13
b293298 to
38ccda1
Compare
kokodak
force-pushed
the
chxghee/chore-56-cookie
branch
from
June 20, 2026 03:20
38ccda1 to
b293298
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📎 Issue 번호
✨ 작업 내용
1. 보안을 위한 Cookie 설정 변경
Domain 설정 추가 (
.sejong-zupzup.kr)api)과 메인 도메인(www) 간의 로그인 쿠키 공유를 위해, 상위 도메인을 기준으로 쿠키가 발급되도록 수정했습니다..SameSite 설정 변경 (
None->Lax)2. 환경별(Profile) CORS 정책 분리 적용
https://sejong-zupzup.kr등)만 허용하여 보안을 강화했습니다.localhost대역(4173,5173등)을 허용하도록 분리했습니다. (아직 데브 서버는 따로 띄우지 않았습니다.)yml)을 통해 환경별allowed-origins값을 주입받도록 구조를 개선했습니다.🎯 리뷰 포인트
📝 기타
프론트엔드 로컬 개발 관련... (중요)
localhost)에서 운영 서버 API(api.sejong-zupzup.kr)를 직접 호출하는 것이 차단됩니다.✅ 테스트