-
Notifications
You must be signed in to change notification settings - Fork 1
[SRLT-129] 가격을 프로모션에 맞춰 수정한다 #78
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
Merged
The head ref may contain hidden characters: "SRLT-129-\uAC00\uACA9-\uBC0F-cors-\uC218\uC815"
Merged
Changes from 3 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
0e7b80d
[SRLT-129] Chore: 요금제 가격을 프로모션 가격으로 변경한다
SeongHo5356 2fddbff
[SRLT-129] Chore: Cors에 개발 주소를 추가한다
SeongHo5356 b6890b6
[SRLT-129] Chore: Cors에 개발 주소를 추가한다
SeongHo5356 2eb78df
[SRLT-129] Chore: 가격을 되돌린다
SeongHo5356 e83f14a
[SRLT-129] test: 변경내용은 테스트 환경설정에 추가한다
SeongHo5356 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Submodule config
updated
from 1d8d33 to 229ee0
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.
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.
🧩 Analysis chain
🏁 Script executed:
Repository: StartUpLight/STARLIGHT_BE
Length of output: 124
🏁 Script executed:
Repository: StartUpLight/STARLIGHT_BE
Length of output: 51
🏁 Script executed:
Repository: StartUpLight/STARLIGHT_BE
Length of output: 458
🏁 Script executed:
Repository: StartUpLight/STARLIGHT_BE
Length of output: 1366
🏁 Script executed:
Repository: StartUpLight/STARLIGHT_BE
Length of output: 51
🏁 Script executed:
Repository: StartUpLight/STARLIGHT_BE
Length of output: 103
🏁 Script executed:
Repository: StartUpLight/STARLIGHT_BE
Length of output: 385
🏁 Script executed:
Repository: StartUpLight/STARLIGHT_BE
Length of output: 210
🏁 Script executed:
Repository: StartUpLight/STARLIGHT_BE
Length of output: 51
🏁 Script executed:
Repository: StartUpLight/STARLIGHT_BE
Length of output: 290
🏁 Script executed:
Repository: StartUpLight/STARLIGHT_BE
Length of output: 51
🏁 Script executed:
Repository: StartUpLight/STARLIGHT_BE
Length of output: 51
🏁 Script executed:
Repository: StartUpLight/STARLIGHT_BE
Length of output: 51
🏁 Script executed:
Repository: StartUpLight/STARLIGHT_BE
Length of output: 210
🏁 Script executed:
Repository: StartUpLight/STARLIGHT_BE
Length of output: 308
🏁 Script executed:
Repository: StartUpLight/STARLIGHT_BE
Length of output: 186
🏁 Script executed:
Repository: StartUpLight/STARLIGHT_BE
Length of output: 510
🏁 Script executed:
Repository: StartUpLight/STARLIGHT_BE
Length of output: 534
🏁 Script executed:
# Check docker-compose.yaml for environment variable definitions cat ./deploy/docker-compose.yamlRepository: StartUpLight/STARLIGHT_BE
Length of output: 1146
🏁 Script executed:
Repository: StartUpLight/STARLIGHT_BE
Length of output: 51
CORS 설정 속성 파일 필수 구성 필요 - 애플리케이션 구동 불가
devBaseUrl외에도cors.origin.server,cors.origin.client등 CORS 허용 origin 설정이@Value어노테이션으로 주입되고 있으나, 이들 속성을 정의하는 설정 파일이 저장소 어디에도 없습니다. 현재 상태로는 애플리케이션 구동 시PropertySourceNotFoundException또는NullPointerException이 발생합니다.필수 조치:
src/main/resources/application.yml(또는.properties)을 생성하여 최소한 다음 속성들을 정의:cors.origin.servercors.origin.clientcors.origin.develop프로파일 분리:
application-dev.yml,application-stg.yml,application-prod.yml을 작성하여 각 환경에 맞는 URL만 설정. 특히cors.origin.develop은 개발 프로파일에만 포함되어야 하며, 운영 환경에서는 제거해야 합니다.예시:
이는 보안 문제뿐만 아니라 기능 구현의 기초입니다. StarLight 백엔드가 제대로 구동될 수 없습니다.
🤖 Prompt for AI Agents
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.
지금 스테이징 서버를 개발에서도 공유하고 있어서 스테이징 서버에서 localhost:3000도 포함시켜줘야해 그래서 이렇게 했어
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.
@SeongHo5356, 스테이징 환경에서 개발 프론트엔드(localhost:3000)를 함께 사용해야 하는 상황은 이해했습니다! 👍
제가 언급한 주요 우려사항은
cors.origin.develop,cors.origin.server,cors.origin.client속성 값들이 어디서 정의되는지에 관한 것이었습니다.혹시 다음 중 어떤 방식으로 이 속성들을 관리하고 계신가요?
현재 방식이 확인되면 제 리뷰 코멘트를 조정하겠습니다!
참고 제안:
스테이징에서 개발 localhost를 허용해야 한다면, 프로파일 기반 설정보다는 환경 변수로 여러 origin을 쉼표로 구분해 주입하는 방식도 고려해볼 수 있습니다: