mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-24 05:05:20 -04:00
[iamges] increase size limit
This commit is contained in:
parent
f98dcdc249
commit
d627a1bb45
@ -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 = [];
|
||||
|
Loading…
x
Reference in New Issue
Block a user