fix npm start and increase max filesize
This commit is contained in:
2
index.js
2
index.js
@@ -68,7 +68,7 @@ const upload = multer({
|
||||
}
|
||||
}),
|
||||
limits: {
|
||||
fileSize: 1024 * 1024 * 100,
|
||||
fileSize: 1024 * 1024 * 400,
|
||||
files: 1
|
||||
},
|
||||
fileFilter: (req, file, cb) => {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
"start": "node index"
|
||||
},
|
||||
"author": "djazz",
|
||||
"license": "MIT",
|
||||
|
||||
Reference in New Issue
Block a user