Skip to content

Commit

Permalink
Increase part size
Browse files Browse the repository at this point in the history
  • Loading branch information
lrojas94 committed Nov 1, 2024
1 parent a00ae4d commit e170013
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/api/v1/image-upload/multipart/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ export default async function imageUploadMultipart(req: NextApiRequest, res: Nex
req.body.size,
s3,
env.S3_IMAGE_UPLOAD_BUCKET,
5 * 1024 * 1024 // 5 MB
100 * 1024 * 1024 // 100 MB
);

if (env.S3_IMAGE_UPLOAD_OVERRIDE) {
result.urls = result.urls.map((item) => ({
...item,
Expand Down

0 comments on commit e170013

Please sign in to comment.