Skip to content

Commit

Permalink
- Added upload file size limits
Browse files Browse the repository at this point in the history
  • Loading branch information
duggalsu authored and dennyabrain committed Sep 5, 2023
1 parent 84dde48 commit bb8a14c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions browser-extension/api-server/s3.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ var upload = multer({
cb(null, `${uuidv4()}`); //use Date.now() for unique file keys
},
}),
limits: {
fileSize: 8000000
}
});

module.exports = { uploadData, upload };

0 comments on commit bb8a14c

Please sign in to comment.