Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Walkthrough프로덕션 여부(PROD)에 따라 Google 리다이렉트 URI를 환경 변수 Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (4 warnings)
✅ Passed checks (1 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (1)📚 Learning: 2025-07-15T20:00:13.756ZApplied to files:
🔇 Additional comments (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
✅ Storybook chromatic 배포 확인: |
There was a problem hiding this comment.
Actionable comments posted: 2
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (6)
packages/design-system/src/icons/source/chippi_profile.svgis excluded by!**/*.svgpackages/design-system/src/icons/source/tooltip_1.svgis excluded by!**/*.svgpackages/design-system/src/icons/source/tooltip_2.svgis excluded by!**/*.svgpackages/design-system/src/icons/source/tooltip_3.svgis excluded by!**/*.svgpackages/design-system/src/icons/source/tooltip_4.svgis excluded by!**/*.svgpackages/design-system/src/icons/source/tooltip_5.svgis excluded by!**/*.svg
📒 Files selected for processing (1)
apps/client/src/pages/onBoarding/components/funnel/step/SocialLoginStep.tsx
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: storybook
🔇 Additional comments (1)
apps/client/src/pages/onBoarding/components/funnel/step/SocialLoginStep.tsx (1)
9-11: 환경 변수 설정은 로컬 .env 파일에서 관리됩니다.환경별 리다이렉트 URI 로직이 올바르게 구현되었습니다.
import.meta.env.PROD는 Vite의 빌트인 불린이며, 프로덕션 빌드에서VITE_GOOGLE_REDIRECT_URI_PROD, 개발 환경에서VITE_GOOGLE_REDIRECT_URI_DEV를 선택하는 조건문이 정확합니다. 또한 코드에서if (!clientId || !redirectUri)체크로 누락된 환경 변수에 대한 에러 처리도 적절히 구현되어 있습니다..env 파일은 .gitignore에서 제외되므로, 각 개발자는 로컬에서
.env.local또는.env.development.local파일에VITE_GOOGLE_REDIRECT_URI_PROD와VITE_GOOGLE_REDIRECT_URI_DEV를 정의해야 합니다.
apps/client/src/pages/onBoarding/components/funnel/step/SocialLoginStep.tsx
Outdated
Show resolved
Hide resolved
apps/client/src/pages/onBoarding/components/funnel/step/SocialLoginStep.tsx
Outdated
Show resolved
Hide resolved
into refactor/#227/redirecturi-edit
📌 Related Issues
📄 Tasks
⭐ PR Point (To Reviewer)
📷 Screenshot
Summary by CodeRabbit
Chores
✏️ Tip: You can customize this high-level summary in your review settings.