From b3c1619d2027939963d4f906e9da40b26e17eee1 Mon Sep 17 00:00:00 2001 From: Jules Date: Sat, 31 Mar 2018 08:56:10 -0400 Subject: server fixes, raises size limit --- lib/upload.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/upload.js') 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) { -- cgit v1.2.3-70-g09d2