diff options
Diffstat (limited to 'lib/upload.js')
| -rw-r--r-- | lib/upload.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/upload.js b/lib/upload.js index 82ea9b5..385e626 100644 --- a/lib/upload.js +++ b/lib/upload.js @@ -37,8 +37,8 @@ module.exports.put = function (key, file, opt) { else if (file.size < 10) { err = "File too small" } - else if (file.size > 2097152) { // 2mb limit - err = "File too large. Uploads can be a maximum of 2 mb." + else if (file.size > 1024*1024*3) { // 3mb limit + err = "File too large. Uploads can be a maximum of 3 mb." } if (err) { |
