fix branding again
All checks were successful
Build & Push Docker Image / build (push) Successful in 1m7s
All checks were successful
Build & Push Docker Image / build (push) Successful in 1m7s
This commit is contained in:
@@ -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)$/;
|
||||
|
||||
Reference in New Issue
Block a user