[iamges] increase size limit

This commit is contained in:
Avris 2021-01-07 21:41:36 +01:00
parent 28b324f74e
commit 76ef403b1e
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ const scaleDownTo = (image, size) => {
const router = Router();
router.post('/images/upload', multer({limits: {fileSize: 5 * 1024 * 1024}}).any('images[]', 12), async (req, res) => {
router.post('/images/upload', multer({limits: {fileSize: 10 * 1024 * 1024}}).any('images[]', 12), async (req, res) => {
const s3 = new S3(awsConfig);
const ids = [];