[FIX] 투표 선택지 이미지 R2 버킷 호스트 등록 (400 최적화 에러 수정) - #151
Conversation
vote-options 이미지가 프로필과 다른 R2 버킷(pub-1670751f...)에서 서빙되어 remotePatterns 미등록으로 400 INVALID_IMAGE_OPTIMIZE_REQUEST 발생하던 문제 수정 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
문제
투표 선택지 이미지가 프로필과 다른 R2 버킷(
pub-1670751f…r2.dev)에서 서빙되는데,next.config.ts의remotePatterns에 미등록되어 next/image 최적화가 거부:400 Bad Request · INVALID_IMAGE_OPTIMIZE_REQUEST원인
수정
remotePatterns에 투표 선택지 이미지 버킷 호스트 추가 (1파일, next.config.ts)참고
🤖 Generated with Claude Code