summary refs log tree commit diff
path: root/cdn/src/util/multer.ts
blob: bfdf6affb23e77c30aed251545edd6fb555aaac8 (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
	},
});