Skip to content

Commit b595144

Browse files
Increased profile upload limit to 5MB
1 parent 63627f5 commit b595144

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: 5_000_000 // Limiting profile upload size to 5MB
44
}

0 commit comments

Comments
 (0)