diff --git a/src/common/services/adapters/upload-adapter.js b/src/common/services/adapters/upload-adapter.js index f59892c..4a04c27 100644 --- a/src/common/services/adapters/upload-adapter.js +++ b/src/common/services/adapters/upload-adapter.js @@ -38,7 +38,7 @@ const createFolder = ({ path }) => { try { console.log(`${filePath}/${path}`); multer({ dest: `${filePath}/${path}` }); - + // multer({ dest: `${filePath}/images/games` }); // multer({ dest: `${filePath}/images/stories` }); @@ -101,7 +101,7 @@ const fileFilter = (req, file, cb) => { const uploader = multer({ storage, limits: { - fileSize: 1024 * 1024 * 2048 // 5MB + fileSize: 1024 * 1024 * 5048 // 5MB }, fileFilter });