fix npm start and increase max filesize

This commit is contained in:
daniel-j
2020-03-04 09:56:04 +01:00
parent b7a5ffdaf3
commit 358d3f554d
2 changed files with 2 additions and 2 deletions

View File

@@ -68,7 +68,7 @@ const upload = multer({
}
}),
limits: {
fileSize: 1024 * 1024 * 100,
fileSize: 1024 * 1024 * 400,
files: 1
},
fileFilter: (req, file, cb) => {

View File

@@ -4,7 +4,7 @@
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"start": "node index"
},
"author": "djazz",
"license": "MIT",