Allow webp image uploads

This commit is contained in:
Joshua Ramon Enslin 2023-04-14 13:40:17 +02:00
parent 617fee2604
commit 47ee414559
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE

View File

@ -28,7 +28,7 @@ final class MDRequirementsSet {
const MIMETYPES_USER_PROFILE_IMG = ['image/jpeg', 'image/jpg'];
const MIMETYPES_OBJECT_IMAGE = ['image/jpeg', 'image/jpg', 'image/png'];
const MIMETYPES_OBJECT_IMAGE = ['image/jpeg', 'image/jpg', 'image/png', 'image/webp'];
const MIMETYPES_OBJECT_PDF = ['application/pdf'];
const MIMETYPES_OBJECT_PROVENANCE_REPORT = ['application/pdf'];
const MIMETYPES_OBJECT_RESTORATION_REPORT = ['application/pdf', 'image/jpeg', 'image/png'];