We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63627f5 commit b595144Copy full SHA for b595144
constants/multer.js
@@ -1,4 +1,4 @@
1
module.exports = {
2
- FILE_SIZE_1MB: 1000000, // in bytes, 1000000 bytes = 1MB
3
- PROFILE_FILE_SIZE: 1000000
+ FILE_SIZE_1MB: 1_000_000, // in bytes, 1000000 bytes = 1MB
+ PROFILE_FILE_SIZE: 5_000_000 // Limiting profile upload size to 5MB
4
}
0 commit comments