Skip to content

[FIX] 투표 선택지 이미지 R2 버킷 호스트 등록 (400 최적화 에러 수정) - #151

Merged
Emithen merged 1 commit into
mainfrom
fix/vote-image-r2-host
Jul 21, 2026
Merged

[FIX] 투표 선택지 이미지 R2 버킷 호스트 등록 (400 최적화 에러 수정)#151
Emithen merged 1 commit into
mainfrom
fix/vote-image-r2-host

Conversation

@Emithen

@Emithen Emithen commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

문제

투표 선택지 이미지가 프로필과 다른 R2 버킷(pub-1670751f…r2.dev)에서 서빙되는데, next.config.tsremotePatterns에 미등록되어 next/image 최적화가 거부:
400 Bad Request · INVALID_IMAGE_OPTIMIZE_REQUEST

원인

  • PR #150에서 이미지 기능은 main에 반영됐으나, 이 버킷 호스트 등록은 PR 머지 이후 푸시되어 main에 반영되지 못함
  • 프로덕션(main) 배포엔 투표옵션 버킷이 여전히 미등록 상태

수정

remotePatterns에 투표 선택지 이미지 버킷 호스트 추가 (1파일, next.config.ts)

참고

  • 빌드타임 설정이라 머지 후 재배포되어야 라이브 400이 해소됩니다
  • develop에도 동일 패치 필요 (별도 반영 예정)

🤖 Generated with Claude Code

vote-options 이미지가 프로필과 다른 R2 버킷(pub-1670751f...)에서 서빙되어
remotePatterns 미등록으로 400 INVALID_IMAGE_OPTIMIZE_REQUEST 발생하던 문제 수정

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
valan-se-web Ready Ready Preview, Comment Jul 21, 2026 3:23pm
valanse-origin-repo Ready Ready Preview, Comment Jul 21, 2026 3:23pm

@coderabbitai

coderabbitai Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 77fba4f8-2395-47f5-b531-94fb632b67e9

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/vote-image-r2-host

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant