打不开office文件


#1

那位大佬知道咋回事不


#2

更新onlyoffice


#3

[root@9e99618414e3 conf]# cat seahub_settings.py

-- coding: utf-8 --

SECRET_KEY = “b’7bfadl59ws2b&pz_+!llzba!226nb+lfu=wj(-vve-)e5ly)mk’”
#onlyoffice
ENABLE_ONLYOFFICE = True
VERIFY_ONLYOFFICE_CERTIFICATE = False
ONLYOFFICE_APIJS_URL = ‘http://你的IP:端口/web-apps/apps/api/documents/api.js’
ONLYOFFICE_FILE_EXTENSION = (‘doc’, ‘docx’, ‘ppt’, ‘pptx’, ‘xls’, ‘xlsx’, ‘odt’, ‘fodt’, ‘odp’, ‘fodp’, ‘ods’, ‘fods’)
ONLYOFFICE_EDIT_FILE_EXTENSION = (‘docx’, ‘pptx’, ‘xlsx’)


#4

thanks,我已经搞定了,ip哪里不能填写127.0.0.1。