mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-31 14:42:10 +00:00
support openoffice files preview
This commit is contained in:
@@ -59,7 +59,7 @@ MAX_INT = 2147483647
|
||||
PREVIEW_FILEEXT = {
|
||||
TEXT: ('ac', 'am', 'bat', 'c', 'cc', 'cmake', 'cpp', 'cs', 'css', 'diff', 'el', 'h', 'html', 'htm', 'java', 'js', 'json', 'less', 'make', 'org', 'php', 'pl', 'properties', 'py', 'rb', 'scala', 'script', 'sh', 'sql', 'txt', 'text', 'tex', 'vi', 'vim', 'xhtml', 'xml', 'log', 'csv', 'groovy', 'rst', 'patch', 'go'),
|
||||
IMAGE: ('gif', 'jpeg', 'jpg', 'png', 'ico'),
|
||||
DOCUMENT: ('doc', 'docx', 'ppt', 'pptx', 'xls', 'xlsx'),
|
||||
DOCUMENT: ('doc', 'docx', 'odt', 'fodt', 'ppt', 'pptx', 'odp', 'fodp', 'xls', 'xlsx', 'ods', 'fods'),
|
||||
SVG: ('svg',),
|
||||
PDF: ('pdf',),
|
||||
MARKDOWN: ('markdown', 'md'),
|
||||
|
Reference in New Issue
Block a user