This commit is contained in:
Jonathan Jara 2025-06-06 13:17:01 -07:00
parent b36b36b372
commit b8b84a8902

View File

@ -21,7 +21,7 @@ const storage = multer.diskStorage({
const allowedMimeTypes = new Set(["image/jpeg", "image/png", "image/jpg"]);
export const upload = multer({
const upload = multer({
storage,
limits: { fileSize: 5 * 1024 * 1024 },
fileFilter: (req, file, cb) => {