mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 23:20:51 +00:00
add xlsx support
This commit is contained in:
2
utils.py
2
utils.py
@@ -31,7 +31,7 @@ MAX_INT = 2147483647
|
||||
PREVIEW_FILEEXT = {
|
||||
'Text': ('ac', 'am', 'bat', 'c', 'cc', 'cmake', 'cpp', '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'),
|
||||
'Image': ('gif', 'jpeg', 'jpg', 'png'),
|
||||
'Document': ('doc', 'docx', 'ppt', 'pptx', 'xls'),
|
||||
'Document': ('doc', 'docx', 'ppt', 'pptx', 'xls', 'xlsx'),
|
||||
'SVG': ('svg',),
|
||||
'PDF': ('pdf',),
|
||||
'Markdown': ('markdown', 'md'),
|
||||
|
Reference in New Issue
Block a user