Skip to content

Commit 708ee62

Browse files
Merge pull request #432 from Real-Dev-Squad/feat/profile-upload-limit-5mb
Increased profile upload limit to 2MB
2 parents 63627f5 + fc433ad commit 708ee62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

constants/multer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
module.exports = {
2-
FILE_SIZE_1MB: 1000000, // in bytes, 1000000 bytes = 1MB
3-
PROFILE_FILE_SIZE: 1000000
2+
FILE_SIZE_1MB: 1_000_000, // in bytes, 1000000 bytes = 1MB
3+
PROFILE_FILE_SIZE: 2_000_000 // Limiting profile upload size to 2MB
44
}

0 commit comments

Comments
 (0)