fix(branding): allow larger square favicons
The upload never enforced 32x32 - only the help text recommended it, which misled admins. Update the EN/DE guidance to recommend a larger square image (512x512) and raise the favicon upload cap 1MB -> 2MB so high-resolution PNGs fit comfortably.
This commit is contained in:
@@ -73,7 +73,7 @@ const faviconStorage = multer.diskStorage({
|
||||
|
||||
const faviconUpload = multer({
|
||||
storage: faviconStorage,
|
||||
limits: { fileSize: 1 * 1024 * 1024 }, // 1MB
|
||||
limits: { fileSize: 2 * 1024 * 1024 }, // 2MB — roomy enough for a 512×512+ square PNG
|
||||
fileFilter: (req, file, cb) => {
|
||||
const allowedMimeTypes = ['image/png', 'image/x-icon', 'image/vnd.microsoft.icon'];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user