mirror of
https://github.com/haiwen/seafile-admin-docs.git
synced 2025-12-25 18:22:48 +00:00
fix:Remove redundant configuration
This commit is contained in:
parent
e31c0f245b
commit
89da57f95a
|
|
@ -134,7 +134,5 @@ OFFICE_SERVER_TYPE = 'CollaboraOffice'
|
|||
ENABLE_OFFICE_WEB_APP = True
|
||||
OFFICE_WEB_APP_BASE_URL = 'https://<Your CollaboraOnline host url>/hosting/discovery'
|
||||
WOPI_ACCESS_TOKEN_EXPIRATION = 30 * 60
|
||||
OFFICE_WEB_APP_FILE_EXTENSION = ('odp', 'ods', 'odt', 'xls', 'xlsb', 'xlsm', 'xlsx','ppsx', 'ppt', 'pptm', 'pptx', 'doc', 'docm', 'docx')
|
||||
ENABLE_OFFICE_WEB_APP_EDIT = True
|
||||
OFFICE_WEB_APP_EDIT_FILE_EXTENSION = ('odp', 'ods', 'odt', 'xls', 'xlsb', 'xlsm', 'xlsx','ppsx', 'ppt', 'pptm', 'pptx', 'doc', 'docm', 'docx')
|
||||
```
|
||||
|
|
|
|||
|
|
@ -139,8 +139,6 @@ For independent deployment of OnlyOffice on a single server, please refer to the
|
|||
ENABLE_ONLYOFFICE = True
|
||||
ONLYOFFICE_APIJS_URL = 'http{s}://<Your OnlyOffice host url>/web-apps/apps/api/documents/api.js'
|
||||
ONLYOFFICE_JWT_SECRET = '<your jwt secret>'
|
||||
ONLYOFFICE_FILE_EXTENSION = ('doc', 'docx', 'ppt', 'pptx', 'xls', 'xlsx', 'odt', 'fodt', 'odp', 'fodp', 'ods', 'fods', 'ppsx', 'pps', 'csv')
|
||||
ONLYOFFICE_EDIT_FILE_EXTENSION = ('docx', 'pptx', 'xlsx', 'csv')
|
||||
OFFICE_PREVIEW_MAX_SIZE = 30 * 1024 * 1024
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue