summaryrefslogtreecommitdiffstats
path: root/lib/private/Preview/Illustrator.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Preview/Illustrator.php')
-rw-r--r--lib/private/Preview/Illustrator.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/private/Preview/Illustrator.php b/lib/private/Preview/Illustrator.php
index 3d926c304c5..f284b670c9d 100644
--- a/lib/private/Preview/Illustrator.php
+++ b/lib/private/Preview/Illustrator.php
@@ -31,4 +31,11 @@ class Illustrator extends Bitmap {
public function getMimeType(): string {
return '/application\/illustrator/';
}
+
+ /**
+ * {@inheritDoc}
+ */
+ protected function getAllowedMimeTypes(): string {
+ return '/application\/(illustrator|pdf)/';
+ }
}