-
Notifications
You must be signed in to change notification settings - Fork 1
Feat/#62 이벤트 정보 조회 api 응답 분기처리 #63
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -30,6 +30,11 @@ const nextConfig: NextConfig = { | |
| hostname: 'blog.kakaocdn.net', | ||
| pathname: '/**', | ||
| }, | ||
| { | ||
| protocol: 'https', | ||
| hostname: 'example.com', | ||
| pathname: '/**', | ||
| }, | ||
|
Comment on lines
+33
to
+37
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain프로덕션 환경에서 작동하지 않을 가능성이 높은 도메인입니다.
실제 이미지가 호스팅되는 도메인(예: CDN, 클라우드 스토리지)으로 교체해야 합니다. 다음 스크립트를 실행하여 코드베이스에서 example.com이 다른 곳에서도 사용되는지 확인하세요: 🏁 Script executed: #!/bin/bash
# Description: example.com 도메인 사용처 확인
# example.com 참조 검색
rg -n "example\.com" --type ts --type tsx -C 3Length of output: 27 🏁 Script executed: #!/bin/bash
# Description: example.com 도메인 사용처 확인 (수정된 버전)
# 전체 저장소에서 example.com 검색 (파일 타입 제한 없이)
rg -n "example\.com" -C 3Length of output: 306 🏁 Script executed: #!/bin/bash
# Description: next.config.ts 파일 전체 내용 확인
# next.config.ts 파일 확인
cat apps/web/next.config.tsLength of output: 785 🏁 Script executed: #!/bin/bash
# Description: remotePatterns 섹션 주변 코드 확인
# remotePatterns 관련 코드 검색
rg -n "remotePatterns" apps/web/next.config.ts -A 20 -B 5Length of output: 589 example.com은 실제 프로덕션 도메인이 아니며 교체가 필요합니다. 코드베이스 전체 검색 결과, 실제 상품 이미지가 호스팅되는 CDN 또는 클라우드 스토리지 도메인으로 교체하세요. 🤖 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.
🧩 Analysis chain
새로운 public/private 엔드포인트에 대한 mock 핸들러 추가를 고려하세요.
eventimport를 제거한 것은 주석 처리된 핸들러와 일관성이 있습니다. 그러나 PR 목표에 따르면 이벤트 정보 API가 public/private 버전으로 분리되고 있습니다. 개발 및 테스트 환경에서 새로운 엔드포인트들이 제대로 작동하도록 하려면,API_PATH.EVENT.PUBLIC_INFO와API_PATH.EVENT.PRIVATE_INFO(또는 유사한 경로)에 대한 mock 핸들러를 추가해야 할 수 있습니다.다음 스크립트를 실행하여 새로운 public/private 엔드포인트가 정의되어 있는지 확인하세요:
🏁 Script executed:
Length of output: 1516
🏁 Script executed:
Length of output: 527
🏁 Script executed:
Length of output: 527
🏁 Script executed:
Length of output: 33
Length of output: 703
API_PATH.EVENT.INFO핸들러 복구 필요eventimport 제거와 핸들러 주석 처리가 불일치합니다. 주석 처리된 핸들러(라인 7-9)의event변수가 정의되지 않습니다. 새 서비스 함수들(getPublicEventInfo,getPrivateEventInfo)은 동일한API_PATH.EVENT.INFO엔드포인트를 호출하므로, 이 핸들러가 복구되어야 mock 환경에서 작동합니다.필요한 조치:
eventimport 복구 (라인 2에 추가)현재 상태에서는 주석 처리된 라인이 남아 있어 혼동의 여지가 있습니다.
🤖 Prompt for AI Agents