From eb5d35c99aaad5aded7763ceca9165ced1dddcd3 Mon Sep 17 00:00:00 2001 From: lian Date: Thu, 14 Apr 2022 16:02:27 +0800 Subject: [PATCH] support onlyoffice docxf and oform type file --- seahub/utils/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seahub/utils/__init__.py b/seahub/utils/__init__.py index 9d6b4fb76b..b065d0bdeb 100644 --- a/seahub/utils/__init__.py +++ b/seahub/utils/__init__.py @@ -119,7 +119,7 @@ MAX_INT = 2147483647 PREVIEW_FILEEXT = { IMAGE: ('gif', 'jpeg', 'jpg', 'png', 'ico', 'bmp', 'tif', 'tiff', 'psd'), - DOCUMENT: ('doc', 'docx', 'ppt', 'pptx', 'odt', 'fodt', 'odp', 'fodp'), + DOCUMENT: ('doc', 'docx', 'docxf', 'oform', 'ppt', 'pptx', 'odt', 'fodt', 'odp', 'fodp'), SPREADSHEET: ('xls', 'xlsx', 'ods', 'fods'), SVG: ('svg',), PDF: ('pdf', 'ai'),