[iamges] increase size limit
This commit is contained in:
parent
28b324f74e
commit
76ef403b1e
|
@ -42,7 +42,7 @@ const scaleDownTo = (image, size) => {
|
||||||
|
|
||||||
const router = Router();
|
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 s3 = new S3(awsConfig);
|
||||||
|
|
||||||
const ids = [];
|
const ids = [];
|
||||||
|
|
Reference in New Issue