-
Notifications
You must be signed in to change notification settings - Fork 0
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
フロント→バックエンド画像アップロードリファクタリング #61
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
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.
User description
概要
変更内容
動作確認
関連するIssue
#123
備考
PR Type
enhancement
Description
formidable
を削除してformData
を使用するように変更しました。Buffer
に変換してMinIOにアップロードする処理を追加しました。image
からfile
に変更しました。Changes walkthrough 📝
route.ts
Refactor file upload handling using formData
app/src/app/api/minio/route.ts
formidable
for form parsing.formData
for file handling.Buffer
for MinIO upload.page.tsx
Update form data key for file upload
app/src/app/camera/page.tsx
image
tofile
.package-lock.json
...
app/package-lock.json
...