Skip to content

Commit

Permalink
refactor(file.utility.ts): update max file size to 5m
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandrosaenz117 committed Dec 2, 2020
1 parent 1bdce96 commit d3d1a44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utilities/file.utility.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import multer = require('multer');

const maxFileSize = 2097152
const maxFileSize = 5000000; // 5 MB
export const upload = multer({
fileFilter: (req, file, cb) => {
// Ext validation
Expand Down

0 comments on commit d3d1a44

Please sign in to comment.