diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2023-11-12 12:33:21 +0100 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2023-11-13 12:35:54 +0100 |
commit | aa48a5f94f2db398c639e95a89dc438203e89ca2 (patch) | |
tree | b09ffd2a06255022b93944279b19bcc37e9d8ebc /resources | |
parent | 694c7e068944ced5f171da08ca8cf610ae322efe (diff) | |
download | nextcloud-server-aa48a5f94f2db398c639e95a89dc438203e89ca2.tar.gz nextcloud-server-aa48a5f94f2db398c639e95a89dc438203e89ca2.zip |
feat: add preview provider for emf files based on office
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'resources')
-rw-r--r-- | resources/config/mimetypealiases.dist.json | 3 | ||||
-rw-r--r-- | resources/config/mimetypemapping.dist.json | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/resources/config/mimetypealiases.dist.json b/resources/config/mimetypealiases.dist.json index 67e79a52283..6b0bcf3e59a 100644 --- a/resources/config/mimetypealiases.dist.json +++ b/resources/config/mimetypealiases.dist.json @@ -114,5 +114,6 @@ "application/vnd.xmind.workbook": "mindmap", "image/targa": "image/tga", "application/vnd.openxmlformats-officedocument.wordprocessingml.document.oform": "x-office/form", - "application/vnd.openxmlformats-officedocument.wordprocessingml.document.docxf": "x-office/form-template" + "application/vnd.openxmlformats-officedocument.wordprocessingml.document.docxf": "x-office/form-template", + "image/x-emf": "image/emf" } diff --git a/resources/config/mimetypemapping.dist.json b/resources/config/mimetypemapping.dist.json index 7b631466972..88a09d0b928 100644 --- a/resources/config/mimetypemapping.dist.json +++ b/resources/config/mimetypemapping.dist.json @@ -51,6 +51,7 @@ "dot": ["application/msword"], "dotx": ["application/vnd.openxmlformats-officedocument.wordprocessingml.template"], "dv": ["video/dv"], + "emf": ["image/emf"], "eot": ["application/vnd.ms-fontobject"], "eps": ["application/postscript"], "epub": ["application/epub+zip"], |