mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-13 22:01:06 +00:00
Added viewing file size limit
This commit is contained in:
@@ -145,7 +145,7 @@ AUTHENTICATION_BACKENDS = (
|
||||
ACCOUNT_ACTIVATION_DAYS = 7
|
||||
|
||||
# File preview
|
||||
FILE_PREVIEW_MAX_SIZE = 10 * 1024 * 1024
|
||||
FILE_PREVIEW_MAX_SIZE = 30 * 1024 * 1024
|
||||
USE_PDFJS = True
|
||||
FILE_ENCODING_LIST = ['auto', 'utf-8', 'gbk', 'ISO-8859-1', 'ISO-8859-5']
|
||||
FILE_ENCODING_TRY_LIST = ['utf-8', 'gbk']
|
||||
|
Reference in New Issue
Block a user