summary refs log tree commit diff
path: root/src/cdn/util/multer.ts
blob: f56b0fb52bc4e4956d7dfbb4671db919b39db966 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
import multerConfig from "multer";

export const multer = multerConfig({
	storage: multerConfig.memoryStorage(),
	limits: {
		fields: 10,
		files: 10,
		fileSize: 1024 * 1024 * 100 // 100 mb
	}
});