diff --git a/backend/middleware/image.js b/backend/middleware/image.js index 522ceee..4289f98 100644 --- a/backend/middleware/image.js +++ b/backend/middleware/image.js @@ -5,7 +5,7 @@ const sharp = require("sharp"); const upload = multer({ storage: multer.memoryStorage(), limits: { - fileSize: 10 * 1024 * 1024, // 10MB max file size + fileSize: 20 * 1024 * 1024, // 20MB max file size }, fileFilter: (req, file, cb) => { // Only accept images