fix branding again
All checks were successful
Build & Push Docker Image / build (push) Successful in 1m7s

This commit is contained in:
2026-02-24 19:52:34 +01:00
parent 69a3c83436
commit 3898bf1b4b
4 changed files with 4 additions and 4 deletions

View File

@@ -28,7 +28,7 @@ const storage = multer.diskStorage({
const upload = multer({
storage,
limits: { fileSize: 2 * 1024 * 1024 }, // 2MB
limits: { fileSize: 5 * 1024 * 1024 }, // 5MB
fileFilter: (req, file, cb) => {
const allowed = /\.(jpg|jpeg|png|gif|svg|webp|ico)$/i;
const mimeAllowed = /^image\/(jpeg|png|gif|svg\+xml|webp|x-icon|vnd\.microsoft\.icon)$/;