LK
Size: a a a
LK
GS
LK
fileFilter: (req, file: MulterLocalFile, cb) => {
if (!allowedTypes.includes(file.mimetype)) {
cb(new MimetypeNotSupportedException());
}
cb(null, true);
}
LK
MimetypeNotSupportedException extends HttpException
GS
GS
MimetypeNotSupportedException extends HttpException
LK
GS
GS
LK
GS
GS
LK
GG
GG
S
GG