fix(web): 채팅 이미지 업로드 경로를 Bruno 명세(/file/chat)와 동기화#512
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
|
Warning Rate limit exceeded
To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
✨ 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. Review rate limit: 0/1 reviews remaining, refill in 28 minutes and 53 seconds.Comment |
작업 배경
POST /file/chat/post로 나가면서 백엔드에서No static resource file/chat/post오류가 발생했습니다.POST /file/chat이며, multipart key는files, 응답은 배열 형태입니다.변경 내용
postUploadProfileImage는 다시POST /file/profile/post로 복원했습니다.postUploadChatImages(files: File[])추가POST /file/chatfilesstring[](fileUrl 목록)로 정규화useUploadChatImages추가 및 exportuseUploadProfileImage사용을 제거하고useUploadChatImages로 교체Promise.all단건 반복 호출에서 다건 1회 호출로 변경검증
pnpm --filter @solid-connect/web run lint:check통과pnpm --filter @solid-connect/web run typecheck:ci통과@solid-connect/web ci:check+next build통과file/chat/post호출 0건 확인기대 효과
No static resource file/chat/post)를 방지합니다.